From 63451e8be6827f559a9db714f80a1af69c1a0904 Mon Sep 17 00:00:00 2001 From: Hendrik Langer Date: Wed, 5 Apr 2023 22:18:51 +0200 Subject: [PATCH] comment out face restoration parameters for now --- matrix_pygmalion_bot/ai/runpod_pygmalion.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/matrix_pygmalion_bot/ai/runpod_pygmalion.py b/matrix_pygmalion_bot/ai/runpod_pygmalion.py index deacc12..4c4d3c3 100644 --- a/matrix_pygmalion_bot/ai/runpod_pygmalion.py +++ b/matrix_pygmalion_bot/ai/runpod_pygmalion.py @@ -320,12 +320,12 @@ async def generate_image_automatic(input_prompt: str, negative_prompt: str, api_ "width": 512, "height": 768, "restore_faces": True, - "gfpgan_visibility": 0.5, - "codeformer_visibility": 0.5, - "codeformer_weight": 0.5, -# "override_settings": { -# "filter_nsfw": False, -# }, +# "gfpgan_visibility": 0.5, +# "codeformer_visibility": 0.5, +# "codeformer_weight": 0.5, +## "override_settings": { +## "filter_nsfw": False, +## }, } output = await serverless_automatic_request(payload, "txt2img", api_url, api_key)