Chintan Donda commited on
Commit
4a989d0
1 Parent(s): 514719c

Fixing issue in Load Custom Data widget for PDFs from local directory

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -533,7 +533,7 @@ with gr.Blocks(title='KKMS-Smart-Search-Demo') as demo:
533
  b_files = gr.Button("Load PDF Files").style(size='sm')
534
  b_files.click(
535
  fn=dom.click_handler_for_load_files_urls,
536
- inputs=[doc_type, upload_button, question_category]
537
  )
538
 
539
  with gr.Row(visible=False) as rowUploadOnlinePdf:
 
533
  b_files = gr.Button("Load PDF Files").style(size='sm')
534
  b_files.click(
535
  fn=dom.click_handler_for_load_files_urls,
536
+ inputs=[doc_type, file_output, question_category]
537
  )
538
 
539
  with gr.Row(visible=False) as rowUploadOnlinePdf: