Update benchmark.py
Browse files- benchmark.py +1 -1
benchmark.py
CHANGED
|
@@ -12,7 +12,7 @@ model_id = "kotoba-tech/kotoba-whisper-v1.0"
|
|
| 12 |
pipe = pipeline(
|
| 13 |
"automatic-speech-recognition",
|
| 14 |
model=model_id,
|
| 15 |
-
torch_dtype=torch.
|
| 16 |
)
|
| 17 |
|
| 18 |
test_audio = [
|
|
|
|
| 12 |
pipe = pipeline(
|
| 13 |
"automatic-speech-recognition",
|
| 14 |
model=model_id,
|
| 15 |
+
torch_dtype=torch.float32
|
| 16 |
)
|
| 17 |
|
| 18 |
test_audio = [
|