Update app.py
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ def inference(audio):
|
|
38 |
_, probs = model.detect_language(mel)
|
39 |
|
40 |
# decode audio data
|
41 |
-
options = whisper.DecodingOptions(fp16 =
|
42 |
# transcribe speech to text
|
43 |
result = whisper.decode(model, mel, options)
|
44 |
|
|
|
38 |
_, probs = model.detect_language(mel)
|
39 |
|
40 |
# decode audio data
|
41 |
+
options = whisper.DecodingOptions(fp16 = False)
|
42 |
# transcribe speech to text
|
43 |
result = whisper.decode(model, mel, options)
|
44 |
|