yuekai commited on
Commit
245e6b4
1 Parent(s): 27de051

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -334,7 +334,6 @@ with demo:
334
  uploaded_file = gr.Audio(
335
  sources=["upload"],
336
  type="filepath",
337
- optional=False,
338
  label="Upload from disk",
339
  )
340
  upload_button = gr.Button("Submit for recognition")
@@ -359,7 +358,6 @@ with demo:
359
  microphone = gr.Audio(
360
  sources=["microphone"], # Choose between "microphone", "upload"
361
  type="filepath",
362
- optional=False,
363
  label="Record from microphone",
364
  )
365
 
 
334
  uploaded_file = gr.Audio(
335
  sources=["upload"],
336
  type="filepath",
 
337
  label="Upload from disk",
338
  )
339
  upload_button = gr.Button("Submit for recognition")
 
358
  microphone = gr.Audio(
359
  sources=["microphone"], # Choose between "microphone", "upload"
360
  type="filepath",
 
361
  label="Record from microphone",
362
  )
363