Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -254,7 +254,7 @@ with gr.Blocks() as demo:
|
|
| 254 |
|
| 255 |
def test_agent_response(question: str) -> str:
|
| 256 |
# agent = BasicAgent()
|
| 257 |
-
agent =
|
| 258 |
return agent(question)
|
| 259 |
|
| 260 |
test_button.click(fn=test_agent_response, inputs=question_input, outputs=answer_output)
|
|
|
|
| 254 |
|
| 255 |
def test_agent_response(question: str) -> str:
|
| 256 |
# agent = BasicAgent()
|
| 257 |
+
agent = LangGraphAgent()
|
| 258 |
return agent(question)
|
| 259 |
|
| 260 |
test_button.click(fn=test_agent_response, inputs=question_input, outputs=answer_output)
|