hanzla commited on
Commit
2cbd477
·
1 Parent(s): ac83c98

custom slider added

Browse files
Files changed (1) hide show
  1. src/app.py +1 -1
src/app.py CHANGED
@@ -5,7 +5,7 @@ from pdfchatbot import PDFChatBot
5
  demo, chat_history, show_img, txt, submit_button, uploaded_pdf, slider1 = create_demo()
6
 
7
  # Create PDFChatBot instance
8
- pdf_chatbot = PDFChatBot(chunk_size_slider=slider1)
9
  pdf_chatbot.load_model()
10
  pdf_chatbot.load_tokenizer()
11
 
 
5
  demo, chat_history, show_img, txt, submit_button, uploaded_pdf, slider1 = create_demo()
6
 
7
  # Create PDFChatBot instance
8
+ pdf_chatbot = PDFChatBot()
9
  pdf_chatbot.load_model()
10
  pdf_chatbot.load_tokenizer()
11