Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ def transcribe(audio):
|
|
24 |
print(f"Detected language: {max(probs, key=probs.get)}")
|
25 |
|
26 |
# decode the audio
|
27 |
-
options = whisper.DecodingOptions()
|
28 |
result = whisper.decode(model, mel, options)
|
29 |
|
30 |
#cohere
|
|
|
24 |
print(f"Detected language: {max(probs, key=probs.get)}")
|
25 |
|
26 |
# decode the audio
|
27 |
+
options = whisper.DecodingOptions(fp16 = False)
|
28 |
result = whisper.decode(model, mel, options)
|
29 |
|
30 |
#cohere
|