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