Neurolingua commited on
Commit
2b0bff4
1 Parent(s): b410aca

Update other_function.py

Browse files
Files changed (1) hide show
  1. other_function.py +2 -2
other_function.py CHANGED
@@ -191,8 +191,8 @@ def extract_text_from_pdf(pdf_path):
191
  return pdf_text
192
 
193
 
194
- def respond_pdf(extracted_text=pdf_text,query):
195
- if
196
  res = ''
197
  for chunk in AI71(AI71_API_KEY).chat.completions.create(
198
  model="tiiuae/falcon-11b",
 
191
  return pdf_text
192
 
193
 
194
+ def respond_pdf(query):
195
+ extracted_text=pdf_text
196
  res = ''
197
  for chunk in AI71(AI71_API_KEY).chat.completions.create(
198
  model="tiiuae/falcon-11b",