Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -97,7 +97,7 @@ sr = config['preprocess_params']['sr']
|
|
97 |
|
98 |
# Load checkpoints
|
99 |
model_f0, _, _, _ = load_checkpoint(model_f0, None, dit_checkpoint_path,
|
100 |
-
load_only_params=True, ignore_modules=[], is_distributed=False
|
101 |
for key in model_f0:
|
102 |
model_f0[key].eval()
|
103 |
model_f0[key].to(device)
|
|
|
97 |
|
98 |
# Load checkpoints
|
99 |
model_f0, _, _, _ = load_checkpoint(model_f0, None, dit_checkpoint_path,
|
100 |
+
load_only_params=True, ignore_modules=[], is_distributed=False)
|
101 |
for key in model_f0:
|
102 |
model_f0[key].eval()
|
103 |
model_f0[key].to(device)
|