Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -143,13 +143,11 @@ with gr.Blocks(title="Insanely Fast Whisper") as demo:
|
|
| 143 |
description = "An opinionated CLI to transcribe Audio files w/ Whisper on-device! Powered by 🤗 Transformers, Optimum & flash-attn"
|
| 144 |
article = "Read the [documentation here](https://github.com/Vaibhavs10/insanely-fast-whisper#cli-options)."
|
| 145 |
whisper_models = [
|
| 146 |
-
"openai/whisper-tiny
|
| 147 |
-
"openai/whisper-base
|
| 148 |
-
"openai/whisper-small
|
| 149 |
"openai/whisper-medium", "openai/whisper-medium.en", "distil-whisper/distil-medium.en",
|
| 150 |
"openai/whisper-large",
|
| 151 |
-
"openai/whisper-large-v1",
|
| 152 |
-
"openai/whisper-large-v2", "distil-whisper/distil-large-v2",
|
| 153 |
"openai/whisper-large-v3", "distil-whisper/distil-large-v3", "xaviviro/whisper-large-v3-catalan-finetuned-v2",
|
| 154 |
]
|
| 155 |
waveform_options = gr.WaveformOptions(
|
|
@@ -164,8 +162,8 @@ with gr.Blocks(title="Insanely Fast Whisper") as demo:
|
|
| 164 |
article=article,
|
| 165 |
inputs=[
|
| 166 |
gr.Dropdown(choices=whisper_models, value="distil-whisper/distil-large-v3",
|
| 167 |
-
label="Model", info="Select whisper model", interactive=True
|
| 168 |
-
gr.Dropdown(choices=["English"], value="English", interactive=False, visible=False
|
| 169 |
label="Language",
|
| 170 |
info="Select audio voice language", ),
|
| 171 |
gr.Text(label="URL", info="(YouTube, etc.)", interactive=False, visible=False),
|
|
|
|
| 143 |
description = "An opinionated CLI to transcribe Audio files w/ Whisper on-device! Powered by 🤗 Transformers, Optimum & flash-attn"
|
| 144 |
article = "Read the [documentation here](https://github.com/Vaibhavs10/insanely-fast-whisper#cli-options)."
|
| 145 |
whisper_models = [
|
| 146 |
+
"openai/whisper-tiny.en",
|
| 147 |
+
"openai/whisper-base.en",
|
| 148 |
+
"openai/whisper-small.en", "distil-whisper/distil-small.en",
|
| 149 |
"openai/whisper-medium", "openai/whisper-medium.en", "distil-whisper/distil-medium.en",
|
| 150 |
"openai/whisper-large",
|
|
|
|
|
|
|
| 151 |
"openai/whisper-large-v3", "distil-whisper/distil-large-v3", "xaviviro/whisper-large-v3-catalan-finetuned-v2",
|
| 152 |
]
|
| 153 |
waveform_options = gr.WaveformOptions(
|
|
|
|
| 162 |
article=article,
|
| 163 |
inputs=[
|
| 164 |
gr.Dropdown(choices=whisper_models, value="distil-whisper/distil-large-v3",
|
| 165 |
+
label="Model", info="Select whisper model", interactive=True),
|
| 166 |
+
gr.Dropdown(choices=["English"], value="English", interactive=False, visible=False,
|
| 167 |
label="Language",
|
| 168 |
info="Select audio voice language", ),
|
| 169 |
gr.Text(label="URL", info="(YouTube, etc.)", interactive=False, visible=False),
|