Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ image_generation_tool = load_tool("m-ric/text-to-image")
|
|
12 |
llm_engine = HfApiEngine("HuggingFaceH4/zephyr-7b-beta")
|
13 |
|
14 |
# Initialize the agent with the image generation tool
|
15 |
-
agent = ReactCodeAgent(
|
16 |
|
17 |
|
18 |
def interact_with_agent(task):
|
|
|
12 |
llm_engine = HfApiEngine("HuggingFaceH4/zephyr-7b-beta")
|
13 |
|
14 |
# Initialize the agent with the image generation tool
|
15 |
+
agent = ReactCodeAgent(add_base_tools=True, llm_engine=llm_engine, additional_authorized_imports=['requests', 'bs4'])
|
16 |
|
17 |
|
18 |
def interact_with_agent(task):
|