Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -91,10 +91,11 @@ def generate(
|
|
91 |
width=width,
|
92 |
height=height,
|
93 |
guidance_scale=guidance_scale,
|
94 |
-
num_inference_steps=
|
|
|
95 |
num_images_per_prompt=1,
|
96 |
-
cross_attention_kwargs={"scale": 2.00},
|
97 |
-
|
98 |
output_type="pil",
|
99 |
).images
|
100 |
image_paths = [save_image(img, prompt) for img in images]
|
|
|
91 |
width=width,
|
92 |
height=height,
|
93 |
guidance_scale=guidance_scale,
|
94 |
+
num_inference_steps=10,
|
95 |
+
#num_inference_steps=50,
|
96 |
num_images_per_prompt=1,
|
97 |
+
#cross_attention_kwargs={"scale": 2.00},
|
98 |
+
cross_attention_kwargs={"scale": 0.65},
|
99 |
output_type="pil",
|
100 |
).images
|
101 |
image_paths = [save_image(img, prompt) for img in images]
|