versae commited on
Commit
8e13a17
·
1 Parent(s): cbb7333

Avoid spaces only limitation

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -119,7 +119,7 @@ def infer(
119
  E2TTS_ema_model = load_e2tts()
120
  ema_model = E2TTS_ema_model
121
  elif isinstance(model, list) and model[0] == "Custom":
122
- assert not USING_SPACES, "Only official checkpoints allowed in Spaces."
123
  global custom_ema_model, pre_custom_path
124
  if pre_custom_path != model[1]:
125
  show_info("Loading Custom TTS model...")
 
119
  E2TTS_ema_model = load_e2tts()
120
  ema_model = E2TTS_ema_model
121
  elif isinstance(model, list) and model[0] == "Custom":
122
+ # assert not USING_SPACES, "Only official checkpoints allowed in Spaces."
123
  global custom_ema_model, pre_custom_path
124
  if pre_custom_path != model[1]:
125
  show_info("Loading Custom TTS model...")