Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -107,7 +107,7 @@ with gr.Blocks() as interface:
|
|
| 107 |
with gr.Column():
|
| 108 |
radio = gr.Radio(["file", "mic"], value="file",
|
| 109 |
label="Input speech (File or Mic)")
|
| 110 |
-
audio_input = gr.Audio(
|
| 111 |
interactive=True, elem_id="melody-input")
|
| 112 |
model_tag = gr.Dropdown(['hifigan_bn_tdnnf_wav2vec2_vq_48_v1',
|
| 113 |
'hifigan_bn_tdnnf_wav2vec2_100h_aug_v1',
|
|
|
|
| 107 |
with gr.Column():
|
| 108 |
radio = gr.Radio(["file", "mic"], value="file",
|
| 109 |
label="Input speech (File or Mic)")
|
| 110 |
+
audio_input = gr.Audio(sources=["upload"], type="numpy", label="File",
|
| 111 |
interactive=True, elem_id="melody-input")
|
| 112 |
model_tag = gr.Dropdown(['hifigan_bn_tdnnf_wav2vec2_vq_48_v1',
|
| 113 |
'hifigan_bn_tdnnf_wav2vec2_100h_aug_v1',
|