Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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:
|