luojunyu commited on
Commit
2dcc9b3
·
1 Parent(s): f8d35c2
Files changed (1) hide show
  1. app.py +13 -13
app.py CHANGED
@@ -312,19 +312,19 @@ def create_interface():
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(
 
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(