1
0
Fork 0

Some future-proof changes

This commit is contained in:
Luca Beltrame 2022-12-25 09:36:35 +01:00
parent d5eb2efd83
commit a8e62e8bc8
Signed by: einar
GPG key ID: 4707F46E9EC72DEC

View file

@ -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",