upgrade whisper small -> large-v3, bump cpu_threads to 8

This commit is contained in:
2026-04-29 17:35:03 +00:00
parent 3f6c435be4
commit eb7cf3be10
+1 -1
View File
@@ -72,7 +72,7 @@ WHISPER_PROMPT = (
whisper_model = None
if HAS_WHISPER:
try:
whisper_model = WhisperModel("small", device="cpu", compute_type="int8", cpu_threads=4)
whisper_model = WhisperModel("large-v3", device="cpu", compute_type="int8", cpu_threads=8)
print("Whisper model loaded")
except Exception as e:
print(f"Whisper not available: {e}")