SamarthPujari commited on
Commit
16b285d
·
verified ·
1 Parent(s): fb94e1c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -145,7 +145,7 @@ image_generation_tool = Tool.from_space(
145
  )
146
 
147
  # -------------------- Other Components --------------------
148
- final_answer = FinalAnswerTool()
149
  search_tool = DuckDuckGoSearchTool()
150
 
151
  model = HfApiModel(
 
145
  )
146
 
147
  # -------------------- Other Components --------------------
148
+ final_answer = FinalAnswerTool().as_tool()
149
  search_tool = DuckDuckGoSearchTool()
150
 
151
  model = HfApiModel(