rahul7star commited on
Commit
b073708
·
verified ·
1 Parent(s): 79d9cdb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -145,7 +145,7 @@ def get_or_load_model():
145
 
146
  try:
147
  # ❌ Do NOT pass map_location (not supported)
148
- MODEL = ChatterboxMultilingualTTS.from_pretrained(DEVICE)
149
 
150
  # ✅ Force CPU after load
151
  if hasattr(MODEL, "to"):
 
145
 
146
  try:
147
  # ❌ Do NOT pass map_location (not supported)
148
+ MODEL = ChatterboxMultilingualTTS.from_pretrained("cpu")
149
 
150
  # ✅ Force CPU after load
151
  if hasattr(MODEL, "to"):