Update app.py

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Adolfo Delorenzo 2025-06-02 17:51:29 -06:00
parent 8c8600d458
commit 80e724cf86

2
app.py
View File

@ -178,7 +178,7 @@ def update_tts_config():
# Load Whisper model # Load Whisper model
logger.info("Loading 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") device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
whisper_model = whisper_model.to(device) whisper_model = whisper_model.to(device)
logger.info("Whisper model loaded successfully") logger.info("Whisper model loaded successfully")