Remove negative_prompt from ReplicateImageGeneration function

This commit is contained in:
2024-03-05 01:55:01 -06:00
parent 0cc1c9fcb7
commit e3caf01a40

View File

@ -73,7 +73,6 @@ func ReplicateImageGeneration(prompt string, filename string) (*bytes.Buffer, er
"height": 1024, "height": 1024,
"prompt": prompt, "prompt": prompt,
"num_outputs": 1, "num_outputs": 1,
"negative_prompt": "ugly, deformed, noisy, blurry, low contrast, BadDream, lowres, low resolution, mutated body parts, extra limbs, mutated body parts, inaccurate hands, too many hands, deformed fingers, too many fingers, deformed eyes, deformed faces, unrealistic faces",
"num_inference_steps": 60, "num_inference_steps": 60,
"apply_watermark": false, "apply_watermark": false,
"disable_safety_checker": true, "disable_safety_checker": true,