From a8e62e8bc857c889eecd1c24ef3ddb65c5d1650b Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Sun, 25 Dec 2022 09:36:35 +0100 Subject: [PATCH] Some future-proof changes --- stable-diffusion.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stable-diffusion.py b/stable-diffusion.py index a8d02eb..cc79969 100644 --- a/stable-diffusion.py +++ b/stable-diffusion.py @@ -17,9 +17,9 @@ async def api_request(url: str, return await resp.json() -async def save_images( - username: str, password: str, prompt: str, negative_prompt: str, destination: str -): +async def save_images(username: str, password: str, + prompt: str, negative_prompt: str, + destination: str, params_dict: dict[str, str]) -> None: params = { "enable_hr": True, "sampler name": "DPM++ 2M Karras",