Spaces:
Sleeping
Sleeping
Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
|
@@ -521,7 +521,7 @@ def chatbot_interface():
|
|
| 521 |
[f"{turn['role'].capitalize()}: {turn['content']}" for turn in st.session_state.conversation_history]
|
| 522 |
)
|
| 523 |
|
| 524 |
-
|
| 525 |
# Pass the history to the agent
|
| 526 |
# response = agent_executor.invoke({"input": conversation_input})
|
| 527 |
response = agent_executor.invoke({"input": conversation_input})
|
|
|
|
| 521 |
[f"{turn['role'].capitalize()}: {turn['content']}" for turn in st.session_state.conversation_history]
|
| 522 |
)
|
| 523 |
|
| 524 |
+
try:
|
| 525 |
# Pass the history to the agent
|
| 526 |
# response = agent_executor.invoke({"input": conversation_input})
|
| 527 |
response = agent_executor.invoke({"input": conversation_input})
|