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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -101,11 +101,11 @@ NOTE : DESCRIBE/SUMMARY should always return the overall summary of the document
101
  return result['answer']
102
 
103
  def get_pdf_path(self):
104
- # Return the stored PDF path
105
- if self.pdf_path:
106
- return self.pdf_path
107
- else:
108
- return "No PDF uploaded yet."
109
 
110
  # Initialize the chatbot
111
  pdf_chatbot = AdvancedPdfChatbot(openai_api_key)
 
101
  return result['answer']
102
 
103
  def get_pdf_path(self):
104
+
105
+ if self.pdf_path:
106
+ return self.pdf_path
107
+ else:
108
+ return "No PDF uploaded yet."
109
 
110
  # Initialize the chatbot
111
  pdf_chatbot = AdvancedPdfChatbot(openai_api_key)