Pavan178 commited on
Commit
e4ebe8c
·
verified ·
1 Parent(s): 47be8b1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -118,7 +118,7 @@ def upload_pdf(pdf_file):
118
  file_path = pdf_file.name # This is the full path, e.g., /tmp/tmp1234.pdf
119
  pdf_chatbot.memory.clear() # Clears chat history
120
  pdf_chatbot.load_and_process_pdf(file_path)
121
- return "PDF uploaded and processed successfully. You can now start chatting!"
122
 
123
 
124
 
 
118
  file_path = pdf_file.name # This is the full path, e.g., /tmp/tmp1234.pdf
119
  pdf_chatbot.memory.clear() # Clears chat history
120
  pdf_chatbot.load_and_process_pdf(file_path)
121
+ return file_path
122
 
123
 
124