Spaces:
Runtime error
Runtime error
Update f5_tts/infer/utils_infer.py
Browse files
f5_tts/infer/utils_infer.py
CHANGED
|
@@ -182,7 +182,7 @@ def initialize_asr_pipeline(device: str = device, dtype=None):
|
|
| 182 |
global asr_pipe
|
| 183 |
asr_pipe = pipeline(
|
| 184 |
"automatic-speech-recognition",
|
| 185 |
-
model="
|
| 186 |
torch_dtype=dtype,
|
| 187 |
device=device,
|
| 188 |
)
|
|
|
|
| 182 |
global asr_pipe
|
| 183 |
asr_pipe = pipeline(
|
| 184 |
"automatic-speech-recognition",
|
| 185 |
+
model="vinai/PhoWhisper-medium",
|
| 186 |
torch_dtype=dtype,
|
| 187 |
device=device,
|
| 188 |
)
|