Spaces:
Running
Running
Logos logging
Browse files- app.py +26 -13
- static/cotec.png +0 -0
app.py
CHANGED
@@ -115,7 +115,7 @@ with gr.Blocks(css=css, js=js) as demo:
|
|
115 |
gr.HTML("""
|
116 |
<div style="padding: 20px; font-size: 18px;">
|
117 |
<h2 style="font-size: 30px;">🌱 Sobre Este Proyecto</h2>
|
118 |
-
<p>Este espacio es parte del proyecto <strong>"Sostenibilidad Generativa"</strong> 🌍, desarrollado en la Universidad Politécnica de Madrid y financiado por la <strong>Fundación Cotec</strong>. Nuestro objetivo es evaluar cómo la <strong>conciencia energética</strong> ⚡ impacta la evaluación de los usuarios sobre los <strong>Modelos de Lenguaje de Gran Escala (LLMs)</strong>.</p>
|
119 |
|
120 |
<h2 style="font-size: 30px;">🔍 Cómo Funciona</h2>
|
121 |
<ol>
|
@@ -141,6 +141,19 @@ with gr.Blocks(css=css, js=js) as demo:
|
|
141 |
with gr.Column(visible=False) as app:
|
142 |
buttons = [None] * 2 # Initialize the list with None elements
|
143 |
with gr.Group(elem_classes="container"):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
144 |
gr.Image("static/logo.png", elem_id="centered", show_label=False)
|
145 |
with gr.Row(visible=False) as model_consumption_row:
|
146 |
consumption_text = gr.Textbox(label="Consumo: ", visible=True, interactive=False)
|
@@ -242,7 +255,7 @@ with gr.Blocks(css=css, js=js) as demo:
|
|
242 |
gr.HTML("""
|
243 |
<div style="padding: 20px; font-size: 18px;">
|
244 |
<h2 style="font-size: 30px;">🌱 Sobre Este Proyecto</h2>
|
245 |
-
<p>Este espacio es parte del proyecto <strong>"Sostenibilidad Generativa"</strong> 🌍, desarrollado en la Universidad Politécnica de Madrid y financiado por la <strong>Fundación Cotec</strong>. Nuestro objetivo es evaluar cómo la <strong>conciencia energética</strong> ⚡ impacta la evaluación de los usuarios sobre los <strong>Modelos de Lenguaje de Gran Escala (LLMs)</strong>.</p>
|
246 |
|
247 |
<h2 style="font-size: 30px;">🔍 Cómo Funciona</h2>
|
248 |
<ol>
|
@@ -276,17 +289,17 @@ Este space es parte de un proyecto de investigación para estudiar cómo el cono
|
|
276 |
)
|
277 |
|
278 |
gr.HTML("""
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
""")
|
291 |
|
292 |
if __name__ == "__main__":
|
|
|
115 |
gr.HTML("""
|
116 |
<div style="padding: 20px; font-size: 18px;">
|
117 |
<h2 style="font-size: 30px;">🌱 Sobre Este Proyecto</h2>
|
118 |
+
<p>Este espacio es parte del proyecto <strong>"Sostenibilidad Generativa"</strong> 🌍, desarrollado en la Escuela Técnica Superior de Ingenieros de Telecomunicación de la Universidad Politécnica de Madrid y financiado por la <strong>Fundación Cotec</strong>. Nuestro objetivo es evaluar cómo la <strong>conciencia energética</strong> ⚡ impacta la evaluación de los usuarios sobre los <strong>Modelos de Lenguaje de Gran Escala (LLMs)</strong>.</p>
|
119 |
|
120 |
<h2 style="font-size: 30px;">🔍 Cómo Funciona</h2>
|
121 |
<ol>
|
|
|
141 |
with gr.Column(visible=False) as app:
|
142 |
buttons = [None] * 2 # Initialize the list with None elements
|
143 |
with gr.Group(elem_classes="container"):
|
144 |
+
gr.HTML("""
|
145 |
+
<div style="flex-wrap: wrap; width: 100%; display:flex; flex-direction: row; justify-content:center; align-items:stretch;" >
|
146 |
+
<div style="margin:2px; background-color:white; display:flex; border-radius:4px; flex-direction:row; align-items:center" >
|
147 |
+
<img class="logo" src='/gradio_api/file=static/cotec.png'>
|
148 |
+
</div>
|
149 |
+
<div style="margin:2px;background-color:white; display:flex; border-radius:4px;flex-direction:row; align-items:center" >
|
150 |
+
<img class="logo" src='/gradio_api/file=static/upm.png'>
|
151 |
+
</div>
|
152 |
+
<div style="margin:2px;background-color:white; display:flex; border-radius:4px;flex-direction:row; align-items:center" >
|
153 |
+
<img class="logo" src='/gradio_api/file=static/etsit.png'>
|
154 |
+
</div>
|
155 |
+
</div>
|
156 |
+
""")
|
157 |
gr.Image("static/logo.png", elem_id="centered", show_label=False)
|
158 |
with gr.Row(visible=False) as model_consumption_row:
|
159 |
consumption_text = gr.Textbox(label="Consumo: ", visible=True, interactive=False)
|
|
|
255 |
gr.HTML("""
|
256 |
<div style="padding: 20px; font-size: 18px;">
|
257 |
<h2 style="font-size: 30px;">🌱 Sobre Este Proyecto</h2>
|
258 |
+
<p>Este espacio es parte del proyecto <strong>"Sostenibilidad Generativa"</strong> 🌍, desarrollado en la Escuela Técnica Superior de Ingenieros de Telecomunicación de la Universidad Politécnica de Madrid y financiado por la <strong>Fundación Cotec</strong>. Nuestro objetivo es evaluar cómo la <strong>conciencia energética</strong> ⚡ impacta la evaluación de los usuarios sobre los <strong>Modelos de Lenguaje de Gran Escala (LLMs)</strong>.</p>
|
259 |
|
260 |
<h2 style="font-size: 30px;">🔍 Cómo Funciona</h2>
|
261 |
<ol>
|
|
|
289 |
)
|
290 |
|
291 |
gr.HTML("""
|
292 |
+
<div style="flex-wrap: wrap; width: 100%; display:flex; flex-direction: row; justify-content:center; align-items:stretch;" >
|
293 |
+
<div style="margin:2px; background-color:white; display:flex; border-radius:4px; flex-direction:row; align-items:center" >
|
294 |
+
<img class="logo" src='/gradio_api/file=static/cotec.png'>
|
295 |
+
</div>
|
296 |
+
<div style="margin:2px;background-color:white; display:flex; border-radius:4px;flex-direction:row; align-items:center" >
|
297 |
+
<img class="logo" src='/gradio_api/file=static/upm.png'>
|
298 |
+
</div>
|
299 |
+
<div style="margin:2px;background-color:white; display:flex; border-radius:4px;flex-direction:row; align-items:center" >
|
300 |
+
<img class="logo" src='/gradio_api/file=static/etsit.png'>
|
301 |
+
</div>
|
302 |
+
</div>
|
303 |
""")
|
304 |
|
305 |
if __name__ == "__main__":
|
static/cotec.png
CHANGED
![]() |
![]() |