custom slider added
Browse files- src/app.py +1 -1
src/app.py
CHANGED
@@ -12,7 +12,7 @@ pdf_chatbot.load_tokenizer()
|
|
12 |
# Set up event handlers
|
13 |
with demo:
|
14 |
# Event handler for uploading a PDF
|
15 |
-
uploaded_pdf.upload(pdf_chatbot.render_file, inputs=[uploaded_pdf], outputs=[show_img])
|
16 |
|
17 |
# Event handler for submitting text and generating response
|
18 |
submit_button.click(pdf_chatbot.add_text, inputs=[chat_history, txt], outputs=[chat_history], queue=False).\
|
|
|
12 |
# Set up event handlers
|
13 |
with demo:
|
14 |
# Event handler for uploading a PDF
|
15 |
+
uploaded_pdf.upload(pdf_chatbot.render_file, inputs=[uploaded_pdf,slider1], outputs=[show_img])
|
16 |
|
17 |
# Event handler for submitting text and generating response
|
18 |
submit_button.click(pdf_chatbot.add_text, inputs=[chat_history, txt], outputs=[chat_history], queue=False).\
|