Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ from transformers import (
|
|
9 |
# Import tool from Hub
|
10 |
image_generation_tool = load_tool("m-ric/text-to-image")
|
11 |
|
12 |
-
llm_engine = HfApiEngine("
|
13 |
|
14 |
# Initialize the agent with the image generation tool
|
15 |
agent = ReactCodeAgent(tools=[image_generation_tool], llm_engine=llm_engine)
|
|
|
9 |
# Import tool from Hub
|
10 |
image_generation_tool = load_tool("m-ric/text-to-image")
|
11 |
|
12 |
+
llm_engine = HfApiEngine("HuggingFaceH4/zephyr-7b-beta")
|
13 |
|
14 |
# Initialize the agent with the image generation tool
|
15 |
agent = ReactCodeAgent(tools=[image_generation_tool], llm_engine=llm_engine)
|