Browse Source

comment out face restoration parameters for now

master
Hendrik Langer 2 years ago
parent
commit
63451e8be6
  1. 12
      matrix_pygmalion_bot/ai/runpod_pygmalion.py

12
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, "width": 512,
"height": 768, "height": 768,
"restore_faces": True, "restore_faces": True,
"gfpgan_visibility": 0.5, # "gfpgan_visibility": 0.5,
"codeformer_visibility": 0.5, # "codeformer_visibility": 0.5,
"codeformer_weight": 0.5, # "codeformer_weight": 0.5,
# "override_settings": { ## "override_settings": {
# "filter_nsfw": False, ## "filter_nsfw": False,
# }, ## },
} }
output = await serverless_automatic_request(payload, "txt2img", api_url, api_key) output = await serverless_automatic_request(payload, "txt2img", api_url, api_key)

Loading…
Cancel
Save