Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -140,7 +140,7 @@ if __name__ == "__main__":
|
|
| 140 |
description = info['description']
|
| 141 |
onnx_dir = info["onnx_dir"]
|
| 142 |
hps = utils.get_hparams_from_file(config_path)
|
| 143 |
-
model =
|
| 144 |
len(hps.symbols),
|
| 145 |
hps.data.filter_length // 2 + 1,
|
| 146 |
hps.train.segment_size // hps.data.hop_length,
|
|
|
|
| 140 |
description = info['description']
|
| 141 |
onnx_dir = info["onnx_dir"]
|
| 142 |
hps = utils.get_hparams_from_file(config_path)
|
| 143 |
+
model = models.SynthesizerTrn(
|
| 144 |
len(hps.symbols),
|
| 145 |
hps.data.filter_length // 2 + 1,
|
| 146 |
hps.train.segment_size // hps.data.hop_length,
|