jeremierostan commited on
Commit
62e175f
·
verified ·
1 Parent(s): b7611a0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -102,7 +102,7 @@ def process_query(user_query):
102
  gemini_resp = gemini_response(preprocessed_query, full_pdf_content)
103
  final_response = generate_final_response(user_query, rag_response, gemini_resp)
104
 
105
- return rag_response, gemini_resp, html_content
106
  except Exception as e:
107
  error_message = f"An error occurred: {str(e)}"
108
  return error_message, error_message, error_message
 
102
  gemini_resp = gemini_response(preprocessed_query, full_pdf_content)
103
  final_response = generate_final_response(user_query, rag_response, gemini_resp)
104
 
105
+ return rag_response, gemini_resp, final_response
106
  except Exception as e:
107
  error_message = f"An error occurred: {str(e)}"
108
  return error_message, error_message, error_message