Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ current_size = 'base'
|
|
8 |
model = whisper.load_model(current_size)
|
9 |
AUTO_DETECT_LANG = "Auto Detect"
|
10 |
|
11 |
-
def transcribe(audio, state={}, model_size='
|
12 |
time.sleep(delay - 1)
|
13 |
|
14 |
global current_size
|
|
|
8 |
model = whisper.load_model(current_size)
|
9 |
AUTO_DETECT_LANG = "Auto Detect"
|
10 |
|
11 |
+
def transcribe(audio, state={}, model_size='tiny', delay=1.2, lang=None, translate=False):
|
12 |
time.sleep(delay - 1)
|
13 |
|
14 |
global current_size
|