avacaondata commited on
Commit
9f01174
1 Parent(s): 93171da

añadidas descripciones de campos en español, hagámoslo más accesible!

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -180,20 +180,20 @@ if __name__ == "__main__":
180
  inputs=[
181
  gr.inputs.Textbox(
182
  lines=2,
183
- label="Question",
184
- placeholder="Type your question (in spanish) to the system.",
185
  optional=True,
186
  ),
187
  gr.inputs.Audio(
188
  source="upload",
189
  type="filepath",
190
- label="Upload your audio asking a question here.",
191
  optional=True,
192
  ),
193
  gr.inputs.Audio(
194
  source="microphone",
195
  type="numpy",
196
- label="Record your audio asking a question.",
197
  optional=True,
198
  ),
199
  gr.inputs.Slider(
@@ -224,12 +224,12 @@ if __name__ == "__main__":
224
  ],
225
  outputs=[
226
  gr.outputs.HTML(
227
- label="Generated Answer."
228
  ),
229
  gr.outputs.HTML(
230
- label="Documents used."
231
  ),
232
- gr.outputs.Audio(label="Answer in audio"),
233
  ],
234
  description=description,
235
  examples=examples,
 
180
  inputs=[
181
  gr.inputs.Textbox(
182
  lines=2,
183
+ label="Pregunta",
184
+ placeholder="Escribe aquí tu pregunta",
185
  optional=True,
186
  ),
187
  gr.inputs.Audio(
188
  source="upload",
189
  type="filepath",
190
+ label="Sube un audio con tu respuesta aquí si quieres.",
191
  optional=True,
192
  ),
193
  gr.inputs.Audio(
194
  source="microphone",
195
  type="numpy",
196
+ label="Graba aquí un audio con tu pregunta.",
197
  optional=True,
198
  ),
199
  gr.inputs.Slider(
 
224
  ],
225
  outputs=[
226
  gr.outputs.HTML(
227
+ label="Respuesta generada."
228
  ),
229
  gr.outputs.HTML(
230
+ label="Documentos utilizados."
231
  ),
232
+ gr.outputs.Audio(label="Respuesta en audio."),
233
  ],
234
  description=description,
235
  examples=examples,