mrm8488 commited on
Commit
f759789
β€’
1 Parent(s): 5c1c307

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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"