Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -971,7 +971,7 @@ def answer_question(user_question):
|
|
| 971 |
"""
|
| 972 |
Send the user input to your LangGraph agent and return the response.
|
| 973 |
"""
|
| 974 |
-
result =
|
| 975 |
agent_answer = result["output"]
|
| 976 |
return agent_answer
|
| 977 |
|
|
|
|
| 971 |
"""
|
| 972 |
Send the user input to your LangGraph agent and return the response.
|
| 973 |
"""
|
| 974 |
+
result = safe_app.invoke({"messages": user_question})
|
| 975 |
agent_answer = result["output"]
|
| 976 |
return agent_answer
|
| 977 |
|