Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -313,12 +313,12 @@ with gr.Blocks() as app:
|
|
313 |
with gr.Row():
|
314 |
with gr.Tabs():
|
315 |
with gr.TabItem("Original"):
|
316 |
-
audio_player = gr.Audio()
|
317 |
inputs = [audio_picker,model_picker,index_picker,index_rate,pitch,method]
|
318 |
audio_picker.change(fn=update_audio_player, inputs=[audio_picker],outputs=[audio_player])
|
319 |
convert_button.click(convert, inputs=inputs,outputs=[audio_picker,audio_player])
|
320 |
with gr.TabItem("Stereo"):
|
321 |
-
stereo_player = gr.Audio()
|
322 |
audio_player.change(fn=stereo, inputs=[audio_player],outputs=[stereo_player])
|
323 |
|
324 |
app.queue(max_size=20).launch(debug=True,allowed_paths=["kofi_button.png"])
|
|
|
313 |
with gr.Row():
|
314 |
with gr.Tabs():
|
315 |
with gr.TabItem("Original"):
|
316 |
+
audio_player = gr.Audio(interactive=False)
|
317 |
inputs = [audio_picker,model_picker,index_picker,index_rate,pitch,method]
|
318 |
audio_picker.change(fn=update_audio_player, inputs=[audio_picker],outputs=[audio_player])
|
319 |
convert_button.click(convert, inputs=inputs,outputs=[audio_picker,audio_player])
|
320 |
with gr.TabItem("Stereo"):
|
321 |
+
stereo_player = gr.Audio(interactive=False)
|
322 |
audio_player.change(fn=stereo, inputs=[audio_player],outputs=[stereo_player])
|
323 |
|
324 |
app.queue(max_size=20).launch(debug=True,allowed_paths=["kofi_button.png"])
|