Update app.py
Browse files
app.py
CHANGED
@@ -65,7 +65,7 @@ def upload_pdf(pdf_file):
|
|
65 |
return "Please upload a PDF file."
|
66 |
file_path = pdf_file.name
|
67 |
pdf_chatbot.load_and_process_pdf(file_path)
|
68 |
-
return
|
69 |
|
70 |
def respond(message, history):
|
71 |
bot_message = pdf_chatbot.chat(message)
|
|
|
65 |
return "Please upload a PDF file."
|
66 |
file_path = pdf_file.name
|
67 |
pdf_chatbot.load_and_process_pdf(file_path)
|
68 |
+
return file_path
|
69 |
|
70 |
def respond(message, history):
|
71 |
bot_message = pdf_chatbot.chat(message)
|