Arri98 commited on
Commit
dd730c4
·
1 Parent(s): 938c4a3

Spanish and disclaimer

Browse files
Files changed (2) hide show
  1. __pycache__/app.cpython-38.pyc +0 -0
  2. app.py +50 -49
__pycache__/app.cpython-38.pyc ADDED
Binary file (9.52 kB). View file
 
app.py CHANGED
@@ -82,30 +82,30 @@ with gr.Blocks(css="footer{display:none !important}") as demo:
82
  gr.set_static_paths(paths=["static"])
83
  with gr.Group():
84
  gr.HTML("""
85
- <div style="padding: 20px; font-size: 18px;">
86
- <h2 style="font-size: 30px;">🌱 About This Project</h2>
87
- <p>This space is part of the project <strong>"Sostenibilidad Generativa"</strong> 🌍, funded by the <strong>COTEC Foundation</strong>. Our goal is to evaluate how <strong>energy awareness</strong> ⚡ impacts users' evaluation of <strong>Large Language Models (LLMs)</strong>.</p>
88
-
89
- <h2 style="font-size: 30x;">🔍 How It Works</h2>
90
- <ol>
91
- <li><strong>Ask a Question</strong> 💬: Enter any question in the prompt box below.</li>
92
- <li><strong>Compare Responses</strong> 🤖⚖️: Two different LLMs will provide answers.</li>
93
- <li><strong>Make Your Choice</strong> ✅: Rate which response you think is better.</li>
94
- <li><strong>Consider Energy Impact</strong> ⚡🔋: For some questions, you'll see information about the models' energy consumption.</li>
95
- </ol>
96
-
97
- <h2 style="font-size: 30px;">⚡ Energy Information</h2>
98
- <ul>
99
- <li>When shown, <strong>energy consumption data</strong> 🔋 will help you understand the <strong>environmental impact</strong> 🌎.</li>
100
- <li>You'll need to consider: <strong>Is a better response worth the additional energy consumption?</strong> 🤔</li>
101
- <li>The comparison will highlight when one model <strong>consumes more than twice</strong> the energy of the other ⚠️.</li>
102
- </ul>
103
-
104
-
105
- <p style="text-align: center; margin-top: 20px; font-size: 35px;">
106
- 🌿 <strong>Let's make AI more sustainable together!</strong> 🚀♻️
107
- </p>
108
- </div>
109
  """)
110
  with gr.Column(visible=False) as app:
111
  gr.set_static_paths(paths=["static"])
@@ -205,33 +205,34 @@ with gr.Blocks(css="footer{display:none !important}") as demo:
205
 
206
  # Project Description
207
  gr.HTML("""
208
- <div style="padding: 20px; font-size: 18px;">
209
- <h2 style="font-size: 30px;">🌱 About This Project</h2>
210
- <p>This space is part of the project <strong>"Sostenibilidad Generativa"</strong> 🌍, funded by the <strong>COTEC Foundation</strong>. Our goal is to evaluate how <strong>energy awareness</strong> ⚡ impacts users' evaluation of <strong>Large Language Models (LLMs)</strong>.</p>
211
-
212
- <h2 style="font-size: 30x;">🔍 How It Works</h2>
213
- <ol>
214
- <li><strong>Ask a Question</strong> 💬: Enter any question in the prompt box below.</li>
215
- <li><strong>Compare Responses</strong> 🤖⚖️: Two different LLMs will provide answers.</li>
216
- <li><strong>Make Your Choice</strong> ✅: Rate which response you think is better.</li>
217
- <li><strong>Consider Energy Impact</strong> ⚡🔋: For some questions, you'll see information about the models' energy consumption.</li>
218
- </ol>
219
-
220
- <h2 style="font-size: 30px;">⚡ Energy Information</h2>
221
- <ul>
222
- <li>When shown, <strong>energy consumption data</strong> 🔋 will help you understand the <strong>environmental impact</strong> 🌎.</li>
223
- <li>You'll need to consider: <strong>Is a better response worth the additional energy consumption?</strong> 🤔</li>
224
- <li>The comparison will highlight when one model <strong>consumes more than twice</strong> the energy of the other ⚠️.</li>
225
- </ul>
226
-
227
-
228
- <p style="text-align: center; margin-top: 20px; font-size: 35px;">
229
- 🌿 <strong>Let's make AI more sustainable together!</strong> 🚀♻️
230
- </p>
231
- </div>
232
  """)
233
 
234
- 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."""
 
 
235
  )
236
  start_button = gr.Button(value="Start", visible=True, interactive=True, size= "lg", variant="primary")
237
  start_button.click(
 
82
  gr.set_static_paths(paths=["static"])
83
  with gr.Group():
84
  gr.HTML("""
85
+ <div style="padding: 20px; font-size: 18px;">
86
+ <h2 style="font-size: 30px;">🌱 Sobre Este Proyecto</h2>
87
+ <p>Este espacio es parte del proyecto <strong>"Sostenibilidad Generativa"</strong> 🌍, 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>
88
+
89
+ <h2 style="font-size: 30px;">🔍 Cómo Funciona</h2>
90
+ <ol>
91
+ <li><strong>Haz una Pregunta</strong> 💬: Ingresa cualquier pregunta en el cuadro de texto a continuación.</li>
92
+ <li><strong>Compara las Respuestas</strong> 🤖⚖️: Dos LLMs diferentes proporcionarán respuestas.</li>
93
+ <li><strong>Elige tu Favorita</strong> ✅: Califica cuál respuesta consideras mejor.</li>
94
+ <li><strong>Considera el Impacto Energético</strong> ⚡🔋: Para algunas preguntas, verás información sobre el consumo energético de los modelos.</li>
95
+ </ol>
96
+
97
+ <h2 style="font-size: 30px;">⚡ Información Energética</h2>
98
+ <ul>
99
+ <li>Cuando se muestre, los <strong>datos de consumo energético</strong> 🔋 te ayudarán a comprender el <strong>impacto ambiental</strong> 🌎.</li>
100
+ <li>Deberás considerar: <strong>¿Vale la pena una mejor respuesta si implica mayor consumo energético?</strong> 🤔</li>
101
+ <li>La comparación resaltará cuando un modelo <strong>consuma más del doble</strong> de energía que el otro ⚠️.</li>
102
+ </ul>
103
+
104
+ <p style="text-align: center; margin-top: 20px; font-size: 35px;">
105
+ 🌿 <strong>¡Hagamos la IA más sostenible juntos!</strong> 🚀♻️
106
+ </p>
107
+ </div>
108
+
109
  """)
110
  with gr.Column(visible=False) as app:
111
  gr.set_static_paths(paths=["static"])
 
205
 
206
  # Project Description
207
  gr.HTML("""
208
+ <div style="padding: 20px; font-size: 18px;">
209
+ <h2 style="font-size: 30px;">🌱 Sobre Este Proyecto</h2>
210
+ <p>Este espacio es parte del proyecto <strong>"Sostenibilidad Generativa"</strong> 🌍, 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>
211
+
212
+ <h2 style="font-size: 30px;">🔍 Cómo Funciona</h2>
213
+ <ol>
214
+ <li><strong>Haz una Pregunta</strong> 💬: Ingresa cualquier pregunta en el cuadro de texto a continuación.</li>
215
+ <li><strong>Compara las Respuestas</strong> 🤖⚖️: Dos LLMs diferentes proporcionarán respuestas.</li>
216
+ <li><strong>Elige tu Favorita</strong> ✅: Califica cuál respuesta consideras mejor.</li>
217
+ <li><strong>Considera el Impacto Energético</strong> ⚡🔋: Para algunas preguntas, verás información sobre el consumo energético de los modelos.</li>
218
+ </ol>
219
+
220
+ <h2 style="font-size: 30px;">⚡ Información Energética</h2>
221
+ <ul>
222
+ <li>Cuando se muestre, los <strong>datos de consumo energético</strong> 🔋 te ayudarán a comprender el <strong>impacto ambiental</strong> 🌎.</li>
223
+ <li>Deberás considerar: <strong>¿Vale la pena una mejor respuesta si implica mayor consumo energético?</strong> 🤔</li>
224
+ <li>La comparación resaltará cuando un modelo <strong>consuma más del doble</strong> de energía que el otro ⚠️.</li>
225
+ </ul>
226
+
227
+ <p style="text-align: center; margin-top: 20px; font-size: 35px;">
228
+ 🌿 <strong>¡Hagamos la IA más sostenible juntos!</strong> 🚀♻️
229
+ </p>
230
+ </div>
 
231
  """)
232
 
233
+ 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.
234
+
235
+ 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). """
236
  )
237
  start_button = gr.Button(value="Start", visible=True, interactive=True, size= "lg", variant="primary")
238
  start_button.click(