Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ llm_engine = HfApiEngine("Qwen/Qwen2.5-72B-Instruct")
|
|
15 |
search_tool = DuckDuckGoSearchTool()
|
16 |
|
17 |
# Initialize the agent with the image generation tool
|
18 |
-
agent = ReactCodeAgent(tools=[
|
19 |
|
20 |
|
21 |
def interact_with_agent(task):
|
|
|
15 |
search_tool = DuckDuckGoSearchTool()
|
16 |
|
17 |
# Initialize the agent with the image generation tool
|
18 |
+
agent = ReactCodeAgent(tools=[image_generation_tool], llm_engine=llm_engine, additional_authorized_imports=['requests', 'bs4'] , add_base_tools=True)
|
19 |
|
20 |
|
21 |
def interact_with_agent(task):
|