LEIDIA commited on
Commit
c5b8a8d
Β·
verified Β·
1 Parent(s): 6bb48ca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -164,12 +164,12 @@ with gr.Blocks() as demo:
164
  alue=600, # Replace with defaults that work for your model
165
  )
166
 
167
- height = gr.Slider(
168
- label="Height",
169
- minimum=0,
170
- maximum=MAX_IMAGE_SIZE,
171
- step=8,
172
- value=752, # Replace with defaults that work for your model
173
  )
174
 
175
  with gr.Row():
@@ -189,7 +189,7 @@ with gr.Blocks() as demo:
189
  value=15, # Replace with defaults that work for your model
190
  )
191
 
192
- gr.Examples(examples=examples, inputs=[prompt])
193
  gr.on(
194
  triggers=[run_button.click, prompt.submit],
195
  fn=infer,
 
164
  alue=600, # Replace with defaults that work for your model
165
  )
166
 
167
+ height = gr.Slider(
168
+ label="Height",
169
+ minimum=0,
170
+ maximum=MAX_IMAGE_SIZE,
171
+ step=8,
172
+ value=752, # Replace with defaults that work for your model
173
  )
174
 
175
  with gr.Row():
 
189
  value=15, # Replace with defaults that work for your model
190
  )
191
 
192
+ gr.Examples(examples=examples, inputs=[prompt])
193
  gr.on(
194
  triggers=[run_button.click, prompt.submit],
195
  fn=infer,