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

Loading…
Cancel
Save