hanzla commited on
Commit
6c2bcf0
1 Parent(s): 89a4f45

Update src/app.py

Browse files
Files changed (1) hide show
  1. 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: