Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -16,9 +16,8 @@ def inference(audio):
|
|
16 |
|
17 |
options = whisper.DecodingOptions(fp16 = False)
|
18 |
result = whisper.decode(model, mel, options)
|
19 |
-
|
20 |
-
|
21 |
-
return result.text
|
22 |
|
23 |
|
24 |
title="Open AI Whisper"
|
|
|
16 |
|
17 |
options = whisper.DecodingOptions(fp16 = False)
|
18 |
result = whisper.decode(model, mel, options)
|
19 |
+
|
20 |
+
return lang, result.text
|
|
|
21 |
|
22 |
|
23 |
title="Open AI Whisper"
|