Spaces:
Running
Running
yoru_tomosu
commited on
Commit
•
3b2268f
1
Parent(s):
65eaea4
Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,8 @@ def transcribe(audio):
|
|
28 |
detect_lang = max(probs, key=probs.get)
|
29 |
|
30 |
# decode the audio
|
31 |
-
options = whisper.DecodingOptions()
|
|
|
32 |
result = whisper.decode(model, mel, options)
|
33 |
|
34 |
|
|
|
28 |
detect_lang = max(probs, key=probs.get)
|
29 |
|
30 |
# decode the audio
|
31 |
+
# options = whisper.DecodingOptions()
|
32 |
+
options = whisper.DecodingOptions(fp16 = False)
|
33 |
result = whisper.decode(model, mel, options)
|
34 |
|
35 |
|