jhansss commited on
Commit
5749621
·
1 Parent(s): b5e825c

espnet svs inference fix

Browse files
Files changed (1) hide show
  1. 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
- "tempo": 120, # does not affect svs result, as note durations are in time unit
95
- "notes": notes,
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