Update src/app.py
Browse files- src/app.py +2 -0
src/app.py
CHANGED
@@ -6,6 +6,8 @@ demo, chat_history, show_img, txt, submit_button, uploaded_pdf = create_demo()
|
|
6 |
|
7 |
# Create PDFChatBot instance
|
8 |
pdf_chatbot = PDFChatBot()
|
|
|
|
|
9 |
|
10 |
# Set up event handlers
|
11 |
with demo:
|
|
|
6 |
|
7 |
# Create PDFChatBot instance
|
8 |
pdf_chatbot = PDFChatBot()
|
9 |
+
pdf_chatbot.load_model()
|
10 |
+
pdf_chatbot.load_tokenizer()
|
11 |
|
12 |
# Set up event handlers
|
13 |
with demo:
|