Spaces:
Running
Running
JV A
commited on
Commit
·
dcd4f80
1
Parent(s):
430da75
Update app.py
Browse files
app.py
CHANGED
@@ -34,8 +34,6 @@ def generate_image(prompt, negative_prompt, scheduler, steps, width, height, res
|
|
34 |
"width": width,
|
35 |
"height": height,
|
36 |
"clip_skip": 1,
|
37 |
-
"loras": [{"name": "biggergirls_128", "strength": 1.0}],
|
38 |
-
"embeddings": [{"name": "awaitingtongue", "strength": 1.0}],
|
39 |
"vae": "vae-ft-mse-840000-ema-pruned.ckpt",
|
40 |
"restore_faces": restore_faces,
|
41 |
"fr_model": "CodeFormer",
|
@@ -47,21 +45,6 @@ def generate_image(prompt, negative_prompt, scheduler, steps, width, height, res
|
|
47 |
"img2img_ref_img_type": "piece",
|
48 |
"img2img_resize_mode": 0,
|
49 |
"img2img_denoising_strength": 0.75,
|
50 |
-
"controlnet_enabled": False,
|
51 |
-
"controlnet_ref_img_type": "piece",
|
52 |
-
"controlnet_guessmode": False,
|
53 |
-
"controlnet_module": "canny",
|
54 |
-
"controlnet_model": "control_v11p_sd15_softedge",
|
55 |
-
"controlnet_weight": 1,
|
56 |
-
"controlnet_guidance_start": 0,
|
57 |
-
"controlnet_guidance_end": 1,
|
58 |
-
"controlnet_ref_img_url": "https://upload.wikimedia.org/wikipedia/commons/d/d1/Image_not_available.png",
|
59 |
-
"controlnet_lowvram": False,
|
60 |
-
"controlnet_mask": [],
|
61 |
-
"controlnet_processor_res": 512,
|
62 |
-
"controlnet_resize_mode": "Scale to Fit (Inner Fit)",
|
63 |
-
"controlnet_threshold_a": 100,
|
64 |
-
"controlnet_threshold_b": 200,
|
65 |
}
|
66 |
|
67 |
# Send the request
|
|
|
34 |
"width": width,
|
35 |
"height": height,
|
36 |
"clip_skip": 1,
|
|
|
|
|
37 |
"vae": "vae-ft-mse-840000-ema-pruned.ckpt",
|
38 |
"restore_faces": restore_faces,
|
39 |
"fr_model": "CodeFormer",
|
|
|
45 |
"img2img_ref_img_type": "piece",
|
46 |
"img2img_resize_mode": 0,
|
47 |
"img2img_denoising_strength": 0.75,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
}
|
49 |
|
50 |
# Send the request
|