Spaces:
Running
Running
new banner
Browse files- app.py +25 -12
- static/logo.png +0 -0
app.py
CHANGED
@@ -135,6 +135,18 @@ with gr.Blocks(css=css, js=js) as demo:
|
|
135 |
<p style="text-align: center; margin-top: 20px; font-size: 35px;">
|
136 |
馃尶 <strong>隆Hagamos la IA m谩s sostenible juntos!</strong> 馃殌鈾伙笍
|
137 |
</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
138 |
</div>
|
139 |
|
140 |
""")
|
@@ -277,18 +289,7 @@ with gr.Blocks(css=css, js=js) as demo:
|
|
277 |
</p>
|
278 |
</div>
|
279 |
""")
|
280 |
-
|
281 |
-
start_button.click(
|
282 |
-
lambda *args: start_app(),
|
283 |
-
inputs=[],
|
284 |
-
outputs=[landing, app, start_button]
|
285 |
-
)
|
286 |
-
gr.Markdown(""" This space is part of a research project to study how knowledge of energy consumption influences user preferences in AI systems. It must be used only for that purpose and not for any illegal, harmful or offensive activities. Please do not upload personal or private information. The space collects and stores the questions and answers and reserves the right to distribute it under a Creative Commons Attribution (CC-BY) license.
|
287 |
-
|
288 |
-
Este space es parte de un proyecto de investigaci贸n para estudiar c贸mo el conocimiento sobre el consumo de energ铆a influye en las preferencias de los usuarios en los sistemas de IA. Debe usarse solo para ese prop贸sito y no para actividades ilegales, da帽inas u ofensivas. Por favor, no subas informaci贸n personal o privada. Este espacio recopila y almacena las preguntas y respuestas y se reserva el derecho de distribuirlas bajo una licencia Creative Commons Attribution (CC-BY). """
|
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'>
|
@@ -302,6 +303,18 @@ Este space es parte de un proyecto de investigaci贸n para estudiar c贸mo el cono
|
|
302 |
</div>
|
303 |
""")
|
304 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
305 |
if __name__ == "__main__":
|
306 |
gr.set_static_paths(paths=[os.path.join(os.path.dirname(__file__), "static")])
|
307 |
demo.launch(show_api=False)
|
|
|
135 |
<p style="text-align: center; margin-top: 20px; font-size: 35px;">
|
136 |
馃尶 <strong>隆Hagamos la IA m谩s sostenible juntos!</strong> 馃殌鈾伙笍
|
137 |
</p>
|
138 |
+
<div style="flex-wrap: wrap; width: 100%; display:flex; flex-direction: row; justify-content:center; align-items:stretch;" >
|
139 |
+
<div style="margin:2px; background-color:white; display:flex; border-radius:4px; flex-direction:row; align-items:center" >
|
140 |
+
<img class="logo" src='/gradio_api/file=static/cotec.png'>
|
141 |
+
</div>
|
142 |
+
<div style="margin:2px;background-color:white; display:flex; border-radius:4px;flex-direction:row; align-items:center" >
|
143 |
+
<img class="logo" src='/gradio_api/file=static/upm.png'>
|
144 |
+
</div>
|
145 |
+
<div style="margin:2px;background-color:white; display:flex; border-radius:4px;flex-direction:row; align-items:center" >
|
146 |
+
<img class="logo" src='/gradio_api/file=static/etsit.png'>
|
147 |
+
</div>
|
148 |
+
</div>
|
149 |
+
|
150 |
</div>
|
151 |
|
152 |
""")
|
|
|
289 |
</p>
|
290 |
</div>
|
291 |
""")
|
292 |
+
gr.HTML("""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
293 |
<div style="flex-wrap: wrap; width: 100%; display:flex; flex-direction: row; justify-content:center; align-items:stretch;" >
|
294 |
<div style="margin:2px; background-color:white; display:flex; border-radius:4px; flex-direction:row; align-items:center" >
|
295 |
<img class="logo" src='/gradio_api/file=static/cotec.png'>
|
|
|
303 |
</div>
|
304 |
""")
|
305 |
|
306 |
+
start_button = gr.Button(value="Start", visible=True, interactive=True, size= "lg",elem_id="start", variant="primary")
|
307 |
+
start_button.click(
|
308 |
+
lambda *args: start_app(),
|
309 |
+
inputs=[],
|
310 |
+
outputs=[landing, app, start_button]
|
311 |
+
)
|
312 |
+
gr.Markdown(""" This space is part of a research project to study how knowledge of energy consumption influences user preferences in AI systems. It must be used only for that purpose and not for any illegal, harmful or offensive activities. Please do not upload personal or private information. The space collects and stores the questions and answers and reserves the right to distribute it under a Creative Commons Attribution (CC-BY) license.
|
313 |
+
|
314 |
+
Este space es parte de un proyecto de investigaci贸n para estudiar c贸mo el conocimiento sobre el consumo de energ铆a influye en las preferencias de los usuarios en los sistemas de IA. Debe usarse solo para ese prop贸sito y no para actividades ilegales, da帽inas u ofensivas. Por favor, no subas informaci贸n personal o privada. Este espacio recopila y almacena las preguntas y respuestas y se reserva el derecho de distribuirlas bajo una licencia Creative Commons Attribution (CC-BY). """
|
315 |
+
)
|
316 |
+
|
317 |
+
|
318 |
if __name__ == "__main__":
|
319 |
gr.set_static_paths(paths=[os.path.join(os.path.dirname(__file__), "static")])
|
320 |
demo.launch(show_api=False)
|
static/logo.png
CHANGED
![]() |
![]() |