Spaces:
Runtime error
Runtime error
Update app_multi.py
Browse files- app_multi.py +1 -1
app_multi.py
CHANGED
@@ -103,7 +103,7 @@ for model_name in multi_cfg.get('models'):
|
|
103 |
else:
|
104 |
net_g = SynthesizerTrnMs768NSFsid_nono(*cpt['config'])
|
105 |
|
106 |
-
|
107 |
|
108 |
# According to original code, this thing seems necessary.
|
109 |
print(net_g.load_state_dict(cpt['weight'], strict=False))
|
|
|
103 |
else:
|
104 |
net_g = SynthesizerTrnMs768NSFsid_nono(*cpt['config'])
|
105 |
|
106 |
+
del net_g.enc_q
|
107 |
|
108 |
# According to original code, this thing seems necessary.
|
109 |
print(net_g.load_state_dict(cpt['weight'], strict=False))
|