new version of gradio
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ from lid import identify, LID_EXAMPLES
|
|
7 |
mms_transcribe = gr.Interface(
|
8 |
fn=lambda audio_files, lang, transcription: [transcribe(model, audio, lang, transcription) for audio in audio_files],
|
9 |
inputs=[
|
10 |
-
gr.
|
11 |
gr.Dropdown(
|
12 |
[f"{k} ({v})" for k, v in ASR_LANGUAGES.items()],
|
13 |
label="Language",
|
|
|
7 |
mms_transcribe = gr.Interface(
|
8 |
fn=lambda audio_files, lang, transcription: [transcribe(model, audio, lang, transcription) for audio in audio_files],
|
9 |
inputs=[
|
10 |
+
gr.File(type="audio", multiple=True), # Allow multiple audio files
|
11 |
gr.Dropdown(
|
12 |
[f"{k} ({v})" for k, v in ASR_LANGUAGES.items()],
|
13 |
label="Language",
|