thanhtvt commited on
Commit
2621abf
·
verified ·
1 Parent(s): fedc9f0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -215,7 +215,7 @@ with demo:
215
  with gr.Tabs():
216
  with gr.TabItem("Upload from disk"):
217
  uploaded_file = gr.Audio(
218
- source="upload", # Choose between "microphone", "upload"
219
  type="filepath",
220
  label="Upload from disk",
221
  )
@@ -232,7 +232,7 @@ with demo:
232
 
233
  with gr.TabItem("Record from microphone"):
234
  microphone = gr.Audio(
235
- source="microphone",
236
  type="filepath",
237
  label="Record from microphone",
238
  )
 
215
  with gr.Tabs():
216
  with gr.TabItem("Upload from disk"):
217
  uploaded_file = gr.Audio(
218
+ sources="upload", # Choose between "microphone", "upload"
219
  type="filepath",
220
  label="Upload from disk",
221
  )
 
232
 
233
  with gr.TabItem("Record from microphone"):
234
  microphone = gr.Audio(
235
+ sources="microphone",
236
  type="filepath",
237
  label="Record from microphone",
238
  )