prithivMLmods commited on
Commit
86358c2
1 Parent(s): 80ad198

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -100,7 +100,7 @@ def generate(
100
  num_inference_steps: int = 25,
101
  randomize_seed: bool = False,
102
  use_resolution_binning: bool = True,
103
- num_images: int = 1,
104
  progress=gr.Progress(track_tqdm=True),
105
  ):
106
  global models
@@ -225,9 +225,9 @@ with gr.Blocks(css=css, theme="bethecloud/storj_theme", js=js_func) as demo:
225
  num_inference_steps = gr.Slider(
226
  label="Number of inference steps",
227
  minimum=1,
228
- maximum=25,
229
  step=1,
230
- value=20,
231
  )
232
 
233
  gr.Examples(
 
100
  num_inference_steps: int = 25,
101
  randomize_seed: bool = False,
102
  use_resolution_binning: bool = True,
103
+ num_images: int = 2,
104
  progress=gr.Progress(track_tqdm=True),
105
  ):
106
  global models
 
225
  num_inference_steps = gr.Slider(
226
  label="Number of inference steps",
227
  minimum=1,
228
+ maximum=35,
229
  step=1,
230
+ value=25,
231
  )
232
 
233
  gr.Examples(