AMfeta99 commited on
Commit
17df7d6
·
verified ·
1 Parent(s): d91db0a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -116,7 +116,7 @@ llm_engine =HfApiModel("Qwen/Qwen2.5-72B-Instruct")
116
 
117
  # Initialize the agent with both tools
118
  #agent = ReactCodeAgent(tools=[image_generation_tool, search_tool], llm_engine=llm_engine)
119
- agent = CodeAgent(tools=[image_generation_tool, search_tool], llm_engine=llm_engine)
120
 
121
  # Gradio interface
122
  def create_gradio_interface():
 
116
 
117
  # Initialize the agent with both tools
118
  #agent = ReactCodeAgent(tools=[image_generation_tool, search_tool], llm_engine=llm_engine)
119
+ agent = CodeAgent(tools=[image_generation_tool, search_tool], model=llm_engine)
120
 
121
  # Gradio interface
122
  def create_gradio_interface():