Yoxas commited on
Commit
0dbb3ea
·
verified ·
1 Parent(s): 8e5d714

Update src/interface.py

Browse files
Files changed (1) hide show
  1. src/interface.py +3 -3
src/interface.py CHANGED
@@ -58,13 +58,13 @@ def create_demo():
58
  uploaded_pdf = gr.UploadButton("📁 Upload PDF", file_types=[".pdf"], elem_id='upload_pdf')
59
  #NEW
60
  with gr.Column(scale=0.20):
61
- download_chat = gr.DownloadButton('Download chat History')
62
  #NEW
63
 
64
- return demo, chat_history, show_img, text_input, submit_button, uploaded_pdf, download_chat, slider_chunk_size,slider_overlap_percentage,slider_temp,slider_k
65
 
66
 
67
  if __name__ == '__main__':
68
- demo, chatbot, show_img, text_input, submit_button, uploaded_pdf, download_chat, slider_chunk_size,slider_overlap_percentage,slider_temp,slider_k = create_demo()
69
  demo.queue()
70
  demo.launch()
 
58
  uploaded_pdf = gr.UploadButton("📁 Upload PDF", file_types=[".pdf"], elem_id='upload_pdf')
59
  #NEW
60
  with gr.Column(scale=0.20):
61
+ download_chat_history = gr.DownloadButton('Download chat History')
62
  #NEW
63
 
64
+ return demo, chat_history, show_img, text_input, submit_button, uploaded_pdf, download_chat_history, slider_chunk_size,slider_overlap_percentage,slider_temp,slider_k
65
 
66
 
67
  if __name__ == '__main__':
68
+ demo, chatbot, show_img, text_input, submit_button, uploaded_pdf, download_chat_history, slider_chunk_size,slider_overlap_percentage,slider_temp,slider_k = create_demo()
69
  demo.queue()
70
  demo.launch()