From adae98a7b0ff3e149b20b3bb397c96fc8b4e1fda Mon Sep 17 00:00:00 2001 From: owl Date: Fri, 14 Mar 2025 21:05:29 +0700 Subject: [PATCH] add list models --- tgbot/shit/prompting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tgbot/shit/prompting.py b/tgbot/shit/prompting.py index a7384b8..164e79e 100644 --- a/tgbot/shit/prompting.py +++ b/tgbot/shit/prompting.py @@ -92,7 +92,7 @@ async def enqueue_prompt_t2i(args: dict): async def list_models(): - url = f"https://{IMAGE_GENERATOR_API_HOST}/prompting/txt2img/" + url = f"https://{IMAGE_GENERATOR_API_HOST}/prompting/list_models/" async with aiohttp.ClientSession() as session: headers = {"Authorization": "Bearer " + IMAGE_GENERATOR_TOKEN