Spaces:
Runtime error
Runtime error
assign a different ID to English since 0 seems to be overloaded
Browse files
Preprocessing/ArticulatoryCombinedTextFrontend.py
CHANGED
@@ -289,7 +289,7 @@ def english_text_expansion(text):
|
|
289 |
|
290 |
def get_language_id(language):
|
291 |
if language == "en":
|
292 |
-
return torch.LongTensor([
|
293 |
elif language == "de":
|
294 |
return torch.LongTensor([1])
|
295 |
elif language == "el":
|
|
|
289 |
|
290 |
def get_language_id(language):
|
291 |
if language == "en":
|
292 |
+
return torch.LongTensor([12])
|
293 |
elif language == "de":
|
294 |
return torch.LongTensor([1])
|
295 |
elif language == "el":
|