justyoung commited on
Commit
ca86aa1
1 Parent(s): c301166

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -324,9 +324,8 @@ with gr.Blocks(theme="ParityError/Interstellar") as app:
324
  convert_button = gr.Button("Convert")
325
  with gr.Row():
326
  audio_player = gr.Audio()
327
- inputs = [audio_picker,model_picker,index_picker,index_rate,pitch,method]
328
  audio_picker.change(fn=update_audio_player, inputs=[audio_picker],outputs=[audio_player])
329
  with gr.Row():
330
- convert_button.click(convert, inputs=inputs,outputs=[audio_picker,audio_player])
331
 
332
  app.queue(max_size=20).launch(debug=True, share=True)
 
324
  convert_button = gr.Button("Convert")
325
  with gr.Row():
326
  audio_player = gr.Audio()
 
327
  audio_picker.change(fn=update_audio_player, inputs=[audio_picker],outputs=[audio_player])
328
  with gr.Row():
329
+ convert_button.click(convert, inputs=[audio_picker,model_picker,index_picker,index_rate,pitch,method],outputs=[audio_player])
330
 
331
  app.queue(max_size=20).launch(debug=True, share=True)