Spaces:
Running
Running
update
Browse files
app.py
CHANGED
|
@@ -312,19 +312,19 @@ def create_interface():
|
|
| 312 |
value=year_data
|
| 313 |
)
|
| 314 |
|
| 315 |
-
# Add example searches
|
| 316 |
-
gr.Examples(
|
| 317 |
-
|
| 318 |
-
|
| 319 |
-
|
| 320 |
-
|
| 321 |
-
|
| 322 |
-
|
| 323 |
-
|
| 324 |
-
|
| 325 |
-
|
| 326 |
-
|
| 327 |
-
)
|
| 328 |
|
| 329 |
# Set up search on button click and input changes
|
| 330 |
search_button.click(
|
|
|
|
| 312 |
value=year_data
|
| 313 |
)
|
| 314 |
|
| 315 |
+
# # Add example searches
|
| 316 |
+
# gr.Examples(
|
| 317 |
+
# examples=[
|
| 318 |
+
# ["agent collaboration", "All Sections", "All Years", "Year (newest first)"],
|
| 319 |
+
# ["security", "Security", "All Years", "Year (newest first)"],
|
| 320 |
+
# ["benchmark", "Datasets & Benchmarks", "2024", "Year (newest first)"],
|
| 321 |
+
# ["tools", "Tools", "All Years", "Year (newest first)"],
|
| 322 |
+
# ],
|
| 323 |
+
# inputs=[search_input, section_dropdown, year_dropdown, sort_dropdown],
|
| 324 |
+
# outputs=results_html,
|
| 325 |
+
# fn=search_papers,
|
| 326 |
+
# cache_examples=True,
|
| 327 |
+
# )
|
| 328 |
|
| 329 |
# Set up search on button click and input changes
|
| 330 |
search_button.click(
|