From 6648fd4a38654316045b91667be2445661971d67 Mon Sep 17 00:00:00 2001 From: badayvedat Date: Mon, 8 Jan 2024 22:37:48 +0300 Subject: [PATCH 1/2] fix(fooocus): regenerate option --- fal_bot/fooocus.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fal_bot/fooocus.py b/fal_bot/fooocus.py index d439e25..0f42ce1 100644 --- a/fal_bot/fooocus.py +++ b/fal_bot/fooocus.py @@ -115,7 +115,7 @@ async def command( interaction, options={ "prompt": prompt, - "styles": [style], + "style": style, "mode": mode, "aspect_ratio": aspect_ratio, }, From 4b963485a822f068be56465d91b1804621b1a37b Mon Sep 17 00:00:00 2001 From: badayvedat Date: Mon, 8 Jan 2024 22:39:24 +0300 Subject: [PATCH 2/2] chore: rename styles to style to make usages consistent --- fal_bot/fooocus.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fal_bot/fooocus.py b/fal_bot/fooocus.py index 0f42ce1..33c8503 100644 --- a/fal_bot/fooocus.py +++ b/fal_bot/fooocus.py @@ -100,7 +100,7 @@ async def command( image_url=result["images"][0]["url"], prompt=prompt, fields={ - "Styles": [style], + "Style": style, "Mode": mode, "Aspect Ratio": aspect_ratio, "Time Taken": f"{timer.elapsed:.2f}s",