rahgadda commited on
Commit
aeaa224
·
verified ·
1 Parent(s): 1df34ec

Initial Draft

Browse files
Files changed (1) hide show
  1. chat.py +2 -2
chat.py CHANGED
@@ -29,7 +29,7 @@ def update_global_variables(ui_action_dropdown, ui_model_name,ui_weaviate_url,ui
29
  ui_product_dropdown=gr.Dropdown(
30
  interactive=False
31
  )
32
- ui_download_excel = gr.File.update(
33
  visible=False,
34
  interactive=False
35
  )
@@ -525,7 +525,7 @@ def excel_file_search(ui_product_dropdown, ui_excel_upload, ui_chatbot):
525
  workbook.save(temp_file.name)
526
 
527
  print("File Processing Completed - "+str(temp_file.name))
528
- output_file_path=gr.File.update( visible=True,
529
  value=str(temp_file.name),
530
  interactive=True
531
  )
 
29
  ui_product_dropdown=gr.Dropdown(
30
  interactive=False
31
  )
32
+ ui_download_excel = gr.File(
33
  visible=False,
34
  interactive=False
35
  )
 
525
  workbook.save(temp_file.name)
526
 
527
  print("File Processing Completed - "+str(temp_file.name))
528
+ output_file_path=gr.File( visible=True,
529
  value=str(temp_file.name),
530
  interactive=True
531
  )