prithivMLmods commited on
Commit
7b18435
1 Parent(s): 8a8852c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -118,7 +118,7 @@ def generate(
118
  width=width,
119
  height=height,
120
  guidance_scale=guidance_scale,
121
- num_inference_steps=20,
122
  num_images_per_prompt=1,
123
  cross_attention_kwargs={"scale": 0.65},
124
  output_type="pil",
@@ -195,14 +195,14 @@ with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
195
  label="Width",
196
  minimum=512,
197
  maximum=2048,
198
- step=8,
199
  value=1024,
200
  )
201
  height = gr.Slider(
202
  label="Height",
203
  minimum=512,
204
  maximum=2048,
205
- step=8,
206
  value=1024,
207
  )
208
 
 
118
  width=width,
119
  height=height,
120
  guidance_scale=guidance_scale,
121
+ num_inference_steps=16,
122
  num_images_per_prompt=1,
123
  cross_attention_kwargs={"scale": 0.65},
124
  output_type="pil",
 
195
  label="Width",
196
  minimum=512,
197
  maximum=2048,
198
+ step=64,
199
  value=1024,
200
  )
201
  height = gr.Slider(
202
  label="Height",
203
  minimum=512,
204
  maximum=2048,
205
+ step=64,
206
  value=1024,
207
  )
208