petkar commited on
Commit
fb6477a
·
verified ·
1 Parent(s): 9551cdb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ from Gradio_UI import GradioUI
20
  # return "What magic will you build ?"
21
 
22
  # Load the DuckDuckGo search tool
23
- search_model = HfApiModel("Intelligent-Internet/II-Search-4B")
24
 
25
  @tool
26
  def my_custom_tool(city1: str, city2: str) -> str:
 
20
  # return "What magic will you build ?"
21
 
22
  # Load the DuckDuckGo search tool
23
+ search_model = HfApiModel("Intelligent-Internet/II-Search-4B", return_text=True)
24
 
25
  @tool
26
  def my_custom_tool(city1: str, city2: str) -> str: