Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -21,7 +21,7 @@ def my_custom_tool(arg1:str, img: bool)-> str|Any: #it's import to specify the r
|
|
| 21 |
"""
|
| 22 |
try:
|
| 23 |
if img:
|
| 24 |
-
return image_generation_tool
|
| 25 |
else:
|
| 26 |
search_obj = DuckDuckGoSearchTool()
|
| 27 |
answer = search_obj(arg1)
|
|
|
|
| 21 |
"""
|
| 22 |
try:
|
| 23 |
if img:
|
| 24 |
+
return image_generation_tool(arg1)
|
| 25 |
else:
|
| 26 |
search_obj = DuckDuckGoSearchTool()
|
| 27 |
answer = search_obj(arg1)
|