Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -142,7 +142,7 @@ agent_executor = AgentExecutor(
|
|
| 142 |
|
| 143 |
def gradio_interface(user_input):
|
| 144 |
result = agent_executor.invoke({"input": user_input})
|
| 145 |
-
return result['output']
|
| 146 |
|
| 147 |
|
| 148 |
# Gradio UI
|
|
|
|
| 142 |
|
| 143 |
def gradio_interface(user_input):
|
| 144 |
result = agent_executor.invoke({"input": user_input})
|
| 145 |
+
return [[user_input, result['output']]]
|
| 146 |
|
| 147 |
|
| 148 |
# Gradio UI
|