Spaces:
Running
on
Zero
Running
on
Zero
Avoid spaces only limitation
Browse files
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...")
|