Spaces:
Runtime error
Runtime error
Update app-img2img.py
Browse filesfix origin inference step bug?
- app-img2img.py +1 -1
app-img2img.py
CHANGED
@@ -67,7 +67,7 @@ def predict(input_image, prompt, guidance_scale=8.0, strength=0.5, seed=2159232)
|
|
67 |
strength=strength,
|
68 |
num_inference_steps=num_inference_steps,
|
69 |
guidance_scale=guidance_scale,
|
70 |
-
lcm_origin_steps=
|
71 |
output_type="pil",
|
72 |
)
|
73 |
nsfw_content_detected = (
|
|
|
67 |
strength=strength,
|
68 |
num_inference_steps=num_inference_steps,
|
69 |
guidance_scale=guidance_scale,
|
70 |
+
lcm_origin_steps=50,
|
71 |
output_type="pil",
|
72 |
)
|
73 |
nsfw_content_detected = (
|