darshil3011 commited on
Commit
80f878a
·
verified ·
1 Parent(s): 9baf2f1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -34,7 +34,7 @@ def full_chat_pipeline(user_query, openai_key):
34
  final_response = chat_with_gpt(get_answer_system_prompt, formatted_prompt)
35
  # print("Final Response:", final_response)
36
 
37
- return f"{selected_intents_str}", f"{final_response}"
38
 
39
  except Exception as e:
40
  return f"Error while classifying intents: {str(e)}", f"Error while generating response: {str(e)}"
 
34
  final_response = chat_with_gpt(get_answer_system_prompt, formatted_prompt)
35
  # print("Final Response:", final_response)
36
 
37
+ return f"{str(intents)}", f"{final_response}"
38
 
39
  except Exception as e:
40
  return f"Error while classifying intents: {str(e)}", f"Error while generating response: {str(e)}"