kaveh commited on
Commit
e79745f
1 Parent(s): 6a374da

changed default of n_samples from 2 to 1

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ def generate(n_samples=1):
13
  with gr.Blocks() as demo:
14
  with gr.Column(variant="panel"):
15
  with gr.Row(variant="compact"):
16
- n_s = gr.Slider(1, 4, label='Number of Samples', value=2, step=1.0, show_label=True).style(container=False)
17
  btn = gr.Button("Generate image").style(full_width=False)
18
 
19
  gallery = gr.Gallery(
 
13
  with gr.Blocks() as demo:
14
  with gr.Column(variant="panel"):
15
  with gr.Row(variant="compact"):
16
+ n_s = gr.Slider(1, 4, label='Number of Samples', value=1, step=1.0, show_label=True).style(container=False)
17
  btn = gr.Button("Generate image").style(full_width=False)
18
 
19
  gallery = gr.Gallery(