汐知 commited on
Commit
8024d7e
1 Parent(s): 6bf2cc3
Files changed (2) hide show
  1. .DS_Store +0 -0
  2. app.py +1 -0
.DS_Store DELETED
Binary file (6.15 kB)
 
app.py CHANGED
@@ -277,6 +277,7 @@ with gr.Blocks() as demo:
277
  baseline_gallery = gr.Gallery(label='Output', show_label=True, elem_id="gallery", columns=1, height=768)
278
  with gr.Accordion("Advanced Option", open=True):
279
  #num_samples = gr.Slider(label="Images", minimum=1, maximum=12, value=1, step=1)
 
280
  strength = gr.Slider(label="Control Strength", minimum=0.0, maximum=2.0, value=1.0, step=0.01)
281
  ddim_steps = gr.Slider(label="Steps", minimum=1, maximum=100, value=30, step=1)
282
  scale = gr.Slider(label="Guidance Scale", minimum=0.1, maximum=30.0, value=5.0, step=0.1)
 
277
  baseline_gallery = gr.Gallery(label='Output', show_label=True, elem_id="gallery", columns=1, height=768)
278
  with gr.Accordion("Advanced Option", open=True):
279
  #num_samples = gr.Slider(label="Images", minimum=1, maximum=12, value=1, step=1)
280
+ num_samples = 1
281
  strength = gr.Slider(label="Control Strength", minimum=0.0, maximum=2.0, value=1.0, step=0.01)
282
  ddim_steps = gr.Slider(label="Steps", minimum=1, maximum=100, value=30, step=1)
283
  scale = gr.Slider(label="Guidance Scale", minimum=0.1, maximum=30.0, value=5.0, step=0.1)