Spaces:
Runtime error
Runtime error
Arnaudding001
commited on
Commit
•
5a2469e
1
Parent(s):
844bbb7
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import time
|
|
6 |
|
7 |
current_size = 'base'
|
8 |
model = whisper.load_model(current_size)
|
9 |
-
AUTO_DETECT_LANG = "Auto
|
10 |
|
11 |
def transcribe(audio, state={}, model_size='base', delay=1.2, lang=None, translate=False):
|
12 |
time.sleep(delay - 1)
|
|
|
6 |
|
7 |
current_size = 'base'
|
8 |
model = whisper.load_model(current_size)
|
9 |
+
AUTO_DETECT_LANG = "Auto Detection"
|
10 |
|
11 |
def transcribe(audio, state={}, model_size='base', delay=1.2, lang=None, translate=False):
|
12 |
time.sleep(delay - 1)
|