add list models
This commit is contained in:
parent
ff75b18c24
commit
adae98a7b0
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user