Cachoups commited on
Commit
ef11d76
·
verified ·
1 Parent(s): 9446c03

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -502,7 +502,7 @@ with gr.Blocks(theme='gradio/soft',js=js_func) as demo:
502
  # Button to trigger the filtering
503
  with gr.Row():
504
  search_button = gr.Button("Search")
505
- clear_button = gr.ClearButton("Clear")
506
  search_button.click(filter_paragraphs, inputs=keyword_input, outputs=[paragraph_1_dropdown, paragraph_2_dropdown])
507
  clear_button.click(clear_paragraphs, inputs=[], outputs=[paragraph_1_dropdown, paragraph_2_dropdown])
508
  # Extract paragraphs from PDFs and update dropdowns
 
502
  # Button to trigger the filtering
503
  with gr.Row():
504
  search_button = gr.Button("Search")
505
+ clear_button = gr.Button("Clear")
506
  search_button.click(filter_paragraphs, inputs=keyword_input, outputs=[paragraph_1_dropdown, paragraph_2_dropdown])
507
  clear_button.click(clear_paragraphs, inputs=[], outputs=[paragraph_1_dropdown, paragraph_2_dropdown])
508
  # Extract paragraphs from PDFs and update dropdowns