fffiloni commited on
Commit
829bee6
1 Parent(s): 0b93ca0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -147,7 +147,7 @@ with gr.Blocks(css=css) as block:
147
  input_image = gr.Image(type='pil', elem_id="input-img")
148
  with gr.Row():
149
  mode_input = gr.Radio(['best', 'classic', 'fast'], label='Select mode', value='best')
150
- flavor_input = gr.Number(value=4, label='best mode max flavors')
151
 
152
  submit_btn = gr.Button("Submit")
153
 
 
147
  input_image = gr.Image(type='pil', elem_id="input-img")
148
  with gr.Row():
149
  mode_input = gr.Radio(['best', 'classic', 'fast'], label='Select mode', value='best')
150
+ flavor_input = gr.Slider(minimum=2, maximum=6, step=2, value=4, label='best mode max flavors')
151
 
152
  submit_btn = gr.Button("Submit")
153