Revert "new version of gradio"
Browse filesThis reverts commit 74e5e89b5cdecf62cbfde45ba0c8681f56948ba3.
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(
|
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",
|