ArkanDash commited on
Commit
e6d96db
1 Parent(s): 0d8b634

fix: upload sources

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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", source="upload", 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=...")
 
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=...")