Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -116,7 +116,7 @@ llm_engine =HfApiModel("Qwen/Qwen2.5-72B-Instruct")
|
|
| 116 |
|
| 117 |
# Initialize the agent with both tools
|
| 118 |
#agent = ReactCodeAgent(tools=[image_generation_tool, search_tool], llm_engine=llm_engine)
|
| 119 |
-
agent = CodeAgent(tools=[image_generation_tool, search_tool],
|
| 120 |
|
| 121 |
# Gradio interface
|
| 122 |
def create_gradio_interface():
|
|
|
|
| 116 |
|
| 117 |
# Initialize the agent with both tools
|
| 118 |
#agent = ReactCodeAgent(tools=[image_generation_tool, search_tool], llm_engine=llm_engine)
|
| 119 |
+
agent = CodeAgent(tools=[image_generation_tool, search_tool], model=llm_engine)
|
| 120 |
|
| 121 |
# Gradio interface
|
| 122 |
def create_gradio_interface():
|