Update app.py
Browse files
app.py
CHANGED
|
@@ -17,7 +17,7 @@ def transcribe_audio(audio):
|
|
| 17 |
_, probs = model.detect_language(mel)
|
| 18 |
|
| 19 |
# Decode the audio
|
| 20 |
-
options = whisper.DecodingOptions()
|
| 21 |
result = whisper.decode(model, mel, options)
|
| 22 |
|
| 23 |
return result.text
|
|
|
|
| 17 |
_, probs = model.detect_language(mel)
|
| 18 |
|
| 19 |
# Decode the audio
|
| 20 |
+
options = whisper.DecodingOptions(fp16 = False)
|
| 21 |
result = whisper.decode(model, mel, options)
|
| 22 |
|
| 23 |
return result.text
|