Spaces:
Runtime error
Runtime error
Commit
·
f546e60
1
Parent(s):
54cbe20
update
Browse files
app2.py
CHANGED
@@ -72,7 +72,7 @@ def load_model(repo_name, exp_name, model_cls, model_cfg, ckpt_step):
|
|
72 |
ema_model.load_state_dict(checkpoint['ema_model_state_dict'])
|
73 |
ema_model.copy_params_from_ema_to_model()
|
74 |
|
75 |
-
return
|
76 |
|
77 |
# load models
|
78 |
F5TTS_model_cfg = dict(dim=1024, depth=22, heads=16, ff_mult=2, text_dim=512, conv_layers=4)
|
|
|
72 |
ema_model.load_state_dict(checkpoint['ema_model_state_dict'])
|
73 |
ema_model.copy_params_from_ema_to_model()
|
74 |
|
75 |
+
return model
|
76 |
|
77 |
# load models
|
78 |
F5TTS_model_cfg = dict(dim=1024, depth=22, heads=16, ff_mult=2, text_dim=512, conv_layers=4)
|