disable queue/show_progress

#1
by radames - opened
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -16,8 +16,9 @@ with gr.Blocks() as demo:
16
  with gr.Column():
17
  output = gr.Audio(label="Output")
18
 
19
- r.change(toggle, r, [m, f])
20
  m.change(lambda x:x, m, output)
21
  f.change(lambda x:x, f, output)
22
 
 
23
  demo.launch()
 
16
  with gr.Column():
17
  output = gr.Audio(label="Output")
18
 
19
+ r.change(toggle, r, [m, f], queue=False, show_progress=False)
20
  m.change(lambda x:x, m, output)
21
  f.change(lambda x:x, f, output)
22
 
23
+ demo.queue()
24
  demo.launch()