Spaces:
Paused
Paused
Update inference/m4singer/base_svs_infer.py
Browse files
inference/m4singer/base_svs_infer.py
CHANGED
@@ -160,7 +160,6 @@ class BaseSVSInfer:
|
|
160 |
@spaces.GPU
|
161 |
def preprocess_input(self, inp, input_type='word'):
|
162 |
"""
|
163 |
-
|
164 |
:param inp: {'text': str, 'item_name': (str, optional), 'spk_name': (str, optional)}
|
165 |
:return:
|
166 |
"""
|
@@ -227,7 +226,8 @@ class BaseSVSInfer:
|
|
227 |
'is_slur': is_slur
|
228 |
}
|
229 |
return batch
|
230 |
-
|
|
|
231 |
def postprocess_output(self, output):
|
232 |
return output
|
233 |
|
|
|
160 |
@spaces.GPU
|
161 |
def preprocess_input(self, inp, input_type='word'):
|
162 |
"""
|
|
|
163 |
:param inp: {'text': str, 'item_name': (str, optional), 'spk_name': (str, optional)}
|
164 |
:return:
|
165 |
"""
|
|
|
226 |
'is_slur': is_slur
|
227 |
}
|
228 |
return batch
|
229 |
+
|
230 |
+
@spaces.GPU
|
231 |
def postprocess_output(self, output):
|
232 |
return output
|
233 |
|