ChenWu98 commited on
Commit
4347f54
1 Parent(s): e602685

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -75,7 +75,7 @@ with gr.Blocks(css=css) as demo:
75
 
76
  with gr.Row():
77
  generate = gr.Button(value="Generate").style(rounded=(False, True, True, False))
78
- image = gr.Image(label="Source image", height=256, tool="editor", type="pil")
79
 
80
  image_out = gr.Image(height=512)
81
  # gallery = gr.Gallery(
@@ -93,7 +93,7 @@ with gr.Blocks(css=css) as demo:
93
  guidance_scale = gr.Slider(label="Target guidance scale", value=5, minimum=1, maximum=10)
94
 
95
  with gr.Row():
96
- steps = gr.Slider(label="Number of inference steps", value=100, minimum=25, maximum=500, step=1)
97
  strength = gr.Slider(label="Strength", value=0.7, minimum=0.5, maximum=1, step=0.01)
98
 
99
  with gr.Row():
 
75
 
76
  with gr.Row():
77
  generate = gr.Button(value="Generate").style(rounded=(False, True, True, False))
78
+ img = gr.Image(label="Source image", height=256, tool="editor", type="pil")
79
 
80
  image_out = gr.Image(height=512)
81
  # gallery = gr.Gallery(
 
93
  guidance_scale = gr.Slider(label="Target guidance scale", value=5, minimum=1, maximum=10)
94
 
95
  with gr.Row():
96
+ num_inference_steps = gr.Slider(label="Number of inference steps", value=100, minimum=25, maximum=500, step=1)
97
  strength = gr.Slider(label="Strength", value=0.7, minimum=0.5, maximum=1, step=0.01)
98
 
99
  with gr.Row():