Spaces:
Sleeping
Sleeping
espnet svs inference fix
Browse files- modules/svs/espnet.py +4 -4
modules/svs/espnet.py
CHANGED
@@ -90,10 +90,10 @@ class ESPNetSVS(AbstractSVSModel):
|
|
90 |
pre_phn = phn_units[-1]
|
91 |
|
92 |
batch = {
|
93 |
-
"score":
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
"text": " ".join(phns),
|
98 |
}
|
99 |
return batch
|
|
|
90 |
pre_phn = phn_units[-1]
|
91 |
|
92 |
batch = {
|
93 |
+
"score": (
|
94 |
+
120, # does not affect svs result, as note durations are in time unit
|
95 |
+
notes,
|
96 |
+
),
|
97 |
"text": " ".join(phns),
|
98 |
}
|
99 |
return batch
|