bomolopuu commited on
Commit
04a906d
·
1 Parent(s): b9b5a7c

Revert "new version of gradio"

Browse files

This reverts commit 74e5e89b5cdecf62cbfde45ba0c8681f56948ba3.

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -57,7 +57,7 @@ language_options = [f"{k} ({v})" for k, v in ASR_LANGUAGES.items()]
57
  mms_transcribe = gr.Interface(
58
  fn=transcribe_multiple_files,
59
  inputs=[
60
- gr.File(label="Audio Files", file_count="multiple"),
61
  gr.Dropdown(
62
  choices=language_options,
63
  label="Language",
 
57
  mms_transcribe = gr.Interface(
58
  fn=transcribe_multiple_files,
59
  inputs=[
60
+ gr.inputs.File(type="audio", multiple=True), # Allow multiple audio files
61
  gr.Dropdown(
62
  choices=language_options,
63
  label="Language",