Spaces:
Paused
Paused
formatting
Browse files
app.py
CHANGED
@@ -287,30 +287,28 @@ if __name__ == "__main__":
|
|
287 |
label="Query",
|
288 |
)
|
289 |
with gr.Row():
|
290 |
-
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
with gr.Column(scale=4):
|
313 |
-
k = gr.Slider(1, 100, value=10, step=1, label="Max Results")
|
314 |
with gr.Row():
|
315 |
submit_btn = gr.Button("Submit")
|
316 |
with gr.Row(visible=False) as datasets_filter:
|
|
|
287 |
label="Query",
|
288 |
)
|
289 |
with gr.Row():
|
290 |
+
lang = gr.Dropdown(
|
291 |
+
choices=[
|
292 |
+
"ar",
|
293 |
+
"ca",
|
294 |
+
"code",
|
295 |
+
"en",
|
296 |
+
"es",
|
297 |
+
"eu",
|
298 |
+
"fr",
|
299 |
+
"id",
|
300 |
+
"indic",
|
301 |
+
"nigercongo",
|
302 |
+
"pt",
|
303 |
+
"vi",
|
304 |
+
"zh",
|
305 |
+
"detect_language",
|
306 |
+
"all",
|
307 |
+
],
|
308 |
+
value="en",
|
309 |
+
label="Language",
|
310 |
+
)
|
311 |
+
k = gr.Slider(1, 100, value=10, step=1, label="Max Results")
|
|
|
|
|
312 |
with gr.Row():
|
313 |
submit_btn = gr.Button("Submit")
|
314 |
with gr.Row(visible=False) as datasets_filter:
|