ziqiangao commited on
Commit
1d6a7cf
·
verified ·
1 Parent(s): 2c778e0

fix the filetype check

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -408,7 +408,7 @@ with gr.Blocks() as demo:
408
  with gr.Accordion(label="Audio Settings", open=True):
409
  gr.Markdown('## Load your mp3 file here')
410
  audio_file = gr.File(
411
- label="Upload your MP3 file", file_count='single', file_types=['mp3'])
412
 
413
  with gr.Accordion(label="Mp3 Metadata", open=False):
414
  gr.Markdown(
 
408
  with gr.Accordion(label="Audio Settings", open=True):
409
  gr.Markdown('## Load your mp3 file here')
410
  audio_file = gr.File(
411
+ label="Upload your MP3 file", file_count='single', file_types=['.mp3'])
412
 
413
  with gr.Accordion(label="Mp3 Metadata", open=False):
414
  gr.Markdown(