rairo commited on
Commit
a3d2146
·
verified ·
1 Parent(s): d537a56

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +3 -1
main.py CHANGED
@@ -106,8 +106,10 @@ def bot():
106
  lake = SmartDatalake([inventory_df, sales_df], config={"llm":llm, "response_parser":FlaskResponse, "enable_cache": False, "save_logs":False})
107
  response = lake.chat(user_question)
108
  print(user_question)
 
 
109
 
110
- return jsonify(response)
111
 
112
 
113
  if __name__ == "__main__":
 
106
  lake = SmartDatalake([inventory_df, sales_df], config={"llm":llm, "response_parser":FlaskResponse, "enable_cache": False, "save_logs":False})
107
  response = lake.chat(user_question)
108
  print(user_question)
109
+
110
+ resp = str(response)
111
 
112
+ return jsonify(resp)
113
 
114
 
115
  if __name__ == "__main__":