Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
translate UI
Browse files
app.py
CHANGED
@@ -232,8 +232,8 @@ with gr.Blocks(title="EUDR Bot", theme=theme, css=custom_css) as demo:
|
|
232 |
with gr.Tab("Fuentes de datos", id=2):
|
233 |
search_method = gr.Radio(
|
234 |
choices=["Subir GeoJson", "Talk to Reports"],
|
235 |
-
label="
|
236 |
-
info="
|
237 |
value="Subir GeoJson",
|
238 |
)
|
239 |
|
@@ -248,7 +248,7 @@ with gr.Blocks(title="EUDR Bot", theme=theme, css=custom_css) as demo:
|
|
248 |
|
249 |
# Results table for WHISP API response
|
250 |
results_table = gr.DataFrame(
|
251 |
-
label="
|
252 |
visible=False,
|
253 |
interactive=False,
|
254 |
wrap=True,
|
@@ -259,7 +259,7 @@ with gr.Blocks(title="EUDR Bot", theme=theme, css=custom_css) as demo:
|
|
259 |
with gr.Group(visible=False) as reports_section:
|
260 |
dropdown_country = gr.Dropdown(
|
261 |
["Ecuador", "Guatemala"],
|
262 |
-
label="
|
263 |
value=None,
|
264 |
interactive=True,
|
265 |
)
|
@@ -274,7 +274,7 @@ with gr.Blocks(title="EUDR Bot", theme=theme, css=custom_css) as demo:
|
|
274 |
value=first_key,
|
275 |
interactive=True,
|
276 |
show_label=True,
|
277 |
-
label="
|
278 |
)
|
279 |
|
280 |
# Create example sections
|
@@ -291,10 +291,10 @@ with gr.Blocks(title="EUDR Bot", theme=theme, css=custom_css) as demo:
|
|
291 |
sample_groups.append(group_examples)
|
292 |
|
293 |
# Sources Tab
|
294 |
-
with gr.Tab("
|
295 |
sources_textbox = gr.HTML(
|
296 |
show_label=False,
|
297 |
-
value="
|
298 |
)
|
299 |
|
300 |
# Guidelines Tab
|
|
|
232 |
with gr.Tab("Fuentes de datos", id=2):
|
233 |
search_method = gr.Radio(
|
234 |
choices=["Subir GeoJson", "Talk to Reports"],
|
235 |
+
label="Elige una fuente de datos",
|
236 |
+
info="Sube un GeoJSON para su análisis o selecciona informes EUDR específicos de cada país.",
|
237 |
value="Subir GeoJson",
|
238 |
)
|
239 |
|
|
|
248 |
|
249 |
# Results table for WHISP API response
|
250 |
results_table = gr.DataFrame(
|
251 |
+
label="Resultados del análisis",
|
252 |
visible=False,
|
253 |
interactive=False,
|
254 |
wrap=True,
|
|
|
259 |
with gr.Group(visible=False) as reports_section:
|
260 |
dropdown_country = gr.Dropdown(
|
261 |
["Ecuador", "Guatemala"],
|
262 |
+
label="Selecciona país",
|
263 |
value=None,
|
264 |
interactive=True,
|
265 |
)
|
|
|
274 |
value=first_key,
|
275 |
interactive=True,
|
276 |
show_label=True,
|
277 |
+
label="Seleccione una categoría de preguntas de muestra."
|
278 |
)
|
279 |
|
280 |
# Create example sections
|
|
|
291 |
sample_groups.append(group_examples)
|
292 |
|
293 |
# Sources Tab
|
294 |
+
with gr.Tab("Fuentes", id=1):
|
295 |
sources_textbox = gr.HTML(
|
296 |
show_label=False,
|
297 |
+
value="Los documentos originales aparecerán aquí después de que hagas una pregunta..."
|
298 |
)
|
299 |
|
300 |
# Guidelines Tab
|
utils/__pycache__/generator.cpython-310.pyc
CHANGED
Binary files a/utils/__pycache__/generator.cpython-310.pyc and b/utils/__pycache__/generator.cpython-310.pyc differ
|
|
utils/__pycache__/retriever.cpython-310.pyc
CHANGED
Binary files a/utils/__pycache__/retriever.cpython-310.pyc and b/utils/__pycache__/retriever.cpython-310.pyc differ
|
|
utils/__pycache__/whisp_api.cpython-310.pyc
CHANGED
Binary files a/utils/__pycache__/whisp_api.cpython-310.pyc and b/utils/__pycache__/whisp_api.cpython-310.pyc differ
|
|