atharva-nlp commited on
Commit
9d5d7ba
·
verified ·
1 Parent(s): 98f81e0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(tools=[image_generation_tool], llm_engine=llm_engine, additional_authorized_imports=['requests', 'bs4'])
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):