multimodalart HF Staff commited on
Commit
d172548
·
verified ·
1 Parent(s): 0f879a0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -255,7 +255,7 @@ with gr.Blocks(css=css) as demo:
255
  with gr.Column(elem_id="col-container"):
256
  gr.Markdown("""
257
  <div id="logo-title">
258
- <img src="https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-Image/qwen_image_logo.png" alt="Qwen-Image Logo">
259
  <h2>Fast</h2>
260
  </div>
261
  """)
@@ -296,15 +296,15 @@ with gr.Blocks(css=css) as demo:
296
  minimum=1.0,
297
  maximum=5.0,
298
  step=0.1,
299
- value=1.0, # Default for the fast model
300
  )
301
 
302
  num_inference_steps = gr.Slider(
303
  label="Number of inference steps",
304
  minimum=4,
305
- maximum=20,
306
  step=1,
307
- value=8, # Default for the fast model
308
  )
309
 
310
  gr.Examples(examples=examples, inputs=[prompt], outputs=[result, seed], fn=infer, cache_examples=False)
 
255
  with gr.Column(elem_id="col-container"):
256
  gr.Markdown("""
257
  <div id="logo-title">
258
+ <img src="https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-Image/qwen_image_logo.png" alt="Qwen-Image Logo" width="400" style="display: block; margin: 0 auto;">
259
  <h2>Fast</h2>
260
  </div>
261
  """)
 
296
  minimum=1.0,
297
  maximum=5.0,
298
  step=0.1,
299
+ value=1.0,
300
  )
301
 
302
  num_inference_steps = gr.Slider(
303
  label="Number of inference steps",
304
  minimum=4,
305
+ maximum=28,
306
  step=1,
307
+ value=8,
308
  )
309
 
310
  gr.Examples(examples=examples, inputs=[prompt], outputs=[result, seed], fn=infer, cache_examples=False)