awacke1 commited on
Commit
25fd4db
1 Parent(s): 21c860f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -91,10 +91,11 @@ def generate(
91
  width=width,
92
  height=height,
93
  guidance_scale=guidance_scale,
94
- num_inference_steps=50,
 
95
  num_images_per_prompt=1,
96
- cross_attention_kwargs={"scale": 2.00},
97
- #cross_attention_kwargs={"scale": 0.65},
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]