upgrade whisper small -> large-v3, bump cpu_threads to 8
This commit is contained in:
+1
-1
@@ -72,7 +72,7 @@ WHISPER_PROMPT = (
|
|||||||
whisper_model = None
|
whisper_model = None
|
||||||
if HAS_WHISPER:
|
if HAS_WHISPER:
|
||||||
try:
|
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")
|
print("Whisper model loaded")
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(f"Whisper not available: {e}")
|
print(f"Whisper not available: {e}")
|
||||||
|
|||||||
Reference in New Issue
Block a user