Pavan178 commited on
Commit
5afc751
·
verified ·
1 Parent(s): 0a080de

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 "PDF uploaded and processed successfully. You can now start chatting!"
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)