JacobLinCool commited on
Commit
873553c
1 Parent(s): f62ad4c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -47,7 +47,7 @@ with gr.Blocks() as demo:
47
  client = gr.State()
48
  btn = gr.Button("Run", variant="primary")
49
 
50
- btn.submit(
51
  process_audio,
52
  [client, gr.Text("someone/model"), gr.Audio(type="filepath"), gr.Slider(minimum=-36, maximum=36, value=0, step=1)],
53
  [gr.Audio(label="Combined"), gr.Audio(label="Vocal"), gr.Audio(label="Background")]
 
47
  client = gr.State()
48
  btn = gr.Button("Run", variant="primary")
49
 
50
+ btn.click(
51
  process_audio,
52
  [client, gr.Text("someone/model"), gr.Audio(type="filepath"), gr.Slider(minimum=-36, maximum=36, value=0, step=1)],
53
  [gr.Audio(label="Combined"), gr.Audio(label="Vocal"), gr.Audio(label="Background")]