Update audio.py
Hardcoded CPU use for faster_whisper to permit use on low CUDA compute capable GPU systems.
This commit is contained in:
parent
b8da4a8cd8
commit
aca8c302c0
1 changed files with 1 additions and 1 deletions
|
|
@ -127,7 +127,7 @@ def set_faster_whisper_model(model: str, auto_update: bool = False):
|
|||
|
||||
faster_whisper_kwargs = {
|
||||
"model_size_or_path": model,
|
||||
"device": DEVICE_TYPE if DEVICE_TYPE and DEVICE_TYPE == "cuda" else "cpu",
|
||||
"device": "cpu",
|
||||
"compute_type": "int8",
|
||||
"download_root": WHISPER_MODEL_DIR,
|
||||
"local_files_only": not auto_update,
|
||||
|
|
|
|||
Loading…
Reference in a new issue