Update app_demo.py
Browse files- app_demo.py +3 -0
app_demo.py
CHANGED
|
@@ -100,6 +100,9 @@ def generate(
|
|
| 100 |
width=width,
|
| 101 |
height=height,
|
| 102 |
guidance_scale=guidance_scale,
|
|
|
|
|
|
|
|
|
|
| 103 |
num_inference_steps=num_inference_steps,
|
| 104 |
num_images_per_prompt=num_images,
|
| 105 |
lcm_origin_steps=50,
|
|
|
|
| 100 |
width=width,
|
| 101 |
height=height,
|
| 102 |
guidance_scale=guidance_scale,
|
| 103 |
+
negative_prompt="",
|
| 104 |
+
safety_checker= None,
|
| 105 |
+
requires_safety_checker=False,
|
| 106 |
num_inference_steps=num_inference_steps,
|
| 107 |
num_images_per_prompt=num_images,
|
| 108 |
lcm_origin_steps=50,
|