Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
fix: upload sources
Browse files
app.py
CHANGED
@@ -393,7 +393,7 @@ if __name__ == '__main__':
|
|
393 |
# Input
|
394 |
vc_input = gr.Textbox(label="Input audio path", visible=False)
|
395 |
# Upload
|
396 |
-
vc_upload = gr.Audio(label="Upload audio file",
|
397 |
# Youtube
|
398 |
vc_download_audio = gr.Dropdown(label="Provider", choices=["Youtube"], allow_custom_value=False, visible=False, value="Youtube", info="Select provider (Default: Youtube)")
|
399 |
vc_link = gr.Textbox(label="Youtube URL", visible=False, info="Example: https://www.youtube.com/watch?v=Nc0sB1Bmf-A", placeholder="https://www.youtube.com/watch?v=...")
|
|
|
393 |
# Input
|
394 |
vc_input = gr.Textbox(label="Input audio path", visible=False)
|
395 |
# Upload
|
396 |
+
vc_upload = gr.Audio(label="Upload audio file", sources=["upload", "microphone"], visible=True, interactive=True)
|
397 |
# Youtube
|
398 |
vc_download_audio = gr.Dropdown(label="Provider", choices=["Youtube"], allow_custom_value=False, visible=False, value="Youtube", info="Select provider (Default: Youtube)")
|
399 |
vc_link = gr.Textbox(label="Youtube URL", visible=False, info="Example: https://www.youtube.com/watch?v=Nc0sB1Bmf-A", placeholder="https://www.youtube.com/watch?v=...")
|