Spaces:
Running
Running
Update tools.py
Browse files
tools.py
CHANGED
@@ -55,9 +55,10 @@ async def tools_search(
|
|
55 |
):
|
56 |
if upload_check:
|
57 |
TOOLS_API_URL = f"{TOOLS_NEW_URL}/{ai_model}/{parameter}"
|
|
|
58 |
else:
|
59 |
TOOLS_API_URL = f"{TOOLS_NEW_URL}/tools/{name}?{parameter}"
|
60 |
-
|
61 |
|
62 |
async def toanime(input):
|
63 |
url = await tools_search(
|
|
|
55 |
):
|
56 |
if upload_check:
|
57 |
TOOLS_API_URL = f"{TOOLS_NEW_URL}/{ai_model}/{parameter}"
|
58 |
+
return TOOLS_API_URL
|
59 |
else:
|
60 |
TOOLS_API_URL = f"{TOOLS_NEW_URL}/tools/{name}?{parameter}"
|
61 |
+
return TOOLS_API_URL
|
62 |
|
63 |
async def toanime(input):
|
64 |
url = await tools_search(
|