Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,6 @@ def my_custom_tool(arg1:str, img: bool)-> Any: #it's import to specify the retur
|
|
24 |
"""
|
25 |
try:
|
26 |
if img:
|
27 |
-
return
|
28 |
# Import tool from Hub
|
29 |
#image_generation_tool = load_tool("dwb2023/text-to-image", trust_remote_code=True)
|
30 |
image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
|
|
|
24 |
"""
|
25 |
try:
|
26 |
if img:
|
|
|
27 |
# Import tool from Hub
|
28 |
#image_generation_tool = load_tool("dwb2023/text-to-image", trust_remote_code=True)
|
29 |
image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
|