Update src/interface.py
Browse files- src/interface.py +4 -1
src/interface.py
CHANGED
@@ -61,7 +61,10 @@ def create_demo():
|
|
61 |
download_button = gr.Button('Download Conversation History')
|
62 |
#NEW
|
63 |
|
|
|
|
|
|
|
64 |
if __name__ == '__main__':
|
65 |
-
demo, chatbot, show_img, text_input, submit_button, uploaded_pdf, slider_chunk_size,slider_overlap_percentage,slider_temp,slider_k = create_demo()
|
66 |
demo.queue()
|
67 |
demo.launch()
|
|
|
61 |
download_button = gr.Button('Download Conversation History')
|
62 |
#NEW
|
63 |
|
64 |
+
return demo, chat_history, show_img, text_input, submit_button, uploaded_pdf, download_button, 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_button, slider_chunk_size,slider_overlap_percentage,slider_temp,slider_k = create_demo()
|
69 |
demo.queue()
|
70 |
demo.launch()
|