mirror of
https://github.com/JefferyHcool/BiliNote.git
synced 2026-09-05 15:46:48 +08:00
fix:修复 cpu 核心锁死问题
fix cpu 核心锁死问题
This commit is contained in:
@@ -64,7 +64,6 @@ class WhisperTranscriber(Transcriber):
|
|||||||
model_size_or_path=model_path,
|
model_size_or_path=model_path,
|
||||||
device=self.device,
|
device=self.device,
|
||||||
compute_type=self.compute_type,
|
compute_type=self.compute_type,
|
||||||
cpu_threads=cpu_threads,
|
|
||||||
download_root=model_dir
|
download_root=model_dir
|
||||||
)
|
)
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
|||||||
Reference in New Issue
Block a user