Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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"{
|
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)}"
|