whisper model to base
This commit is contained in:
parent
d46df7939a
commit
ae8eaaacc0
2
app.py
2
app.py
@ -184,7 +184,7 @@ def update_tts_config():
|
||||
|
||||
# Load Whisper model
|
||||
logger.info("Loading Whisper model...")
|
||||
whisper_model = whisper.load_model("medium")
|
||||
whisper_model = whisper.load_model("base")
|
||||
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
||||
whisper_model = whisper_model.to(device)
|
||||
logger.info("Whisper model loaded successfully")
|
||||
|
Loading…
Reference in New Issue
Block a user