Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,7 +15,7 @@ llm_engine = HfApiEngine("HuggingFaceH4/zephyr-7b-beta")
|
|
| 15 |
search_tool = DuckDuckGoSearchTool()
|
| 16 |
|
| 17 |
# Initialize the agent with the image generation tool
|
| 18 |
-
agent = ReactCodeAgent(tools=[search_tool],
|
| 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=[search_tool], llm_engine=llm_engine, additional_authorized_imports=['requests', 'bs4'])
|
| 19 |
|
| 20 |
|
| 21 |
def interact_with_agent(task):
|