Penality commited on
Commit
b24e4ce
·
verified ·
1 Parent(s): 1ea9096

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -190,7 +190,7 @@ def split_text(text, chunk_size=500):
190
  print("splitting")
191
  return [text[i:i+chunk_size] for i in range(0, len(text), chunk_size)]
192
 
193
- def chatbot(doc_presence, user_question):
194
  """Processes the PDF and answers the user's question."""
195
  print("chatbot start")
196
 
 
190
  print("splitting")
191
  return [text[i:i+chunk_size] for i in range(0, len(text), chunk_size)]
192
 
193
+ def chatbot(user_question, doc_presence):
194
  """Processes the PDF and answers the user's question."""
195
  print("chatbot start")
196