Spaces:
Runtime error
Runtime error
testing with llama3
Browse files- src/app.py +1 -1
- src/interface.py +1 -1
src/app.py
CHANGED
@@ -2,7 +2,7 @@ from interface import create_demo
|
|
2 |
from pdfchatbot import PDFChatBot
|
3 |
|
4 |
# Create Gradio interface
|
5 |
-
demo, chat_history, show_img, txt, submit_button, uploaded_pdf = create_demo()
|
6 |
|
7 |
# Create PDFChatBot instance
|
8 |
pdf_chatbot = PDFChatBot()
|
|
|
2 |
from pdfchatbot import PDFChatBot
|
3 |
|
4 |
# Create Gradio interface
|
5 |
+
demo, chat_history, show_img, txt, submit_button, uploaded_pdf, slider1, slider2 = create_demo()
|
6 |
|
7 |
# Create PDFChatBot instance
|
8 |
pdf_chatbot = PDFChatBot()
|
src/interface.py
CHANGED
@@ -28,6 +28,6 @@ def create_demo():
|
|
28 |
return demo, chat_history, show_img, text_input, submit_button, uploaded_pdf, slider1, slider2
|
29 |
|
30 |
if __name__ == '__main__':
|
31 |
-
demo, chatbot, show_img, text_input, submit_button, uploaded_pdf = create_demo()
|
32 |
demo.queue()
|
33 |
demo.launch()
|
|
|
28 |
return demo, chat_history, show_img, text_input, submit_button, uploaded_pdf, slider1, slider2
|
29 |
|
30 |
if __name__ == '__main__':
|
31 |
+
demo, chatbot, show_img, text_input, submit_button, uploaded_pdf, slider1, slider2 = create_demo()
|
32 |
demo.queue()
|
33 |
demo.launch()
|