Spaces:
Paused
Paused
Commit
·
bcf2709
1
Parent(s):
b078254
Fix auto as an option
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ from share_btn import community_icon_html, loading_icon_html, share_js
|
|
7 |
|
8 |
model = whisper.load_model("medium")
|
9 |
|
10 |
-
languages = {long_name: short_name for short_name, long_name in whisper.tokenizer.LANGUAGES.items()}
|
11 |
|
12 |
|
13 |
|
|
|
7 |
|
8 |
model = whisper.load_model("medium")
|
9 |
|
10 |
+
languages = {'auto': None} | {long_name: short_name for short_name, long_name in whisper.tokenizer.LANGUAGES.items()}
|
11 |
|
12 |
|
13 |
|