Update app.py
Browse files
app.py
CHANGED
@@ -29,7 +29,7 @@ def inference(audio):
|
|
29 |
_, probs = model.detect_language(mel)
|
30 |
|
31 |
# decode audio data
|
32 |
-
options = whisper.DecodingOptions(fp16 =
|
33 |
# transcribe speech to text
|
34 |
result = whisper.decode(model, mel, options)
|
35 |
|
|
|
29 |
_, probs = model.detect_language(mel)
|
30 |
|
31 |
# decode audio data
|
32 |
+
options = whisper.DecodingOptions(fp16 = False)
|
33 |
# transcribe speech to text
|
34 |
result = whisper.decode(model, mel, options)
|
35 |
|