Spaces:
Build error
Build error
currently remove testing models files (Causing outoftime ERROR)
Browse files
app.py
CHANGED
@@ -72,38 +72,38 @@ text2speech = Text2Speech.from_pretrained(
|
|
72 |
speed_control_alpha=1.0,
|
73 |
)
|
74 |
|
75 |
-
# Fastspeech2
|
76 |
-
ft2_text2speech = Text2Speech.from_pretrained(
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
)
|
85 |
-
|
86 |
-
# Fastspeech2 + hifigan
|
87 |
-
ft2_text2speech_hifi = Text2Speech.from_pretrained(
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
)
|
96 |
-
|
97 |
-
# transformer tag
|
98 |
-
transformer_text2speech = Text2Speech.from_pretrained(
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
)
|
107 |
|
108 |
import glob
|
109 |
import os
|
|
|
72 |
speed_control_alpha=1.0,
|
73 |
)
|
74 |
|
75 |
+
# # Fastspeech2
|
76 |
+
# ft2_text2speech = Text2Speech.from_pretrained(
|
77 |
+
# model_tag=ft2_tag,
|
78 |
+
# vocoder_tag=str_or_none(vocoder_tag_local),
|
79 |
+
# device="cuda",
|
80 |
+
# use_att_constraint=False,
|
81 |
+
# backward_window=1,
|
82 |
+
# forward_window=3,
|
83 |
+
# speed_control_alpha=1.0,
|
84 |
+
# )
|
85 |
+
|
86 |
+
# # Fastspeech2 + hifigan
|
87 |
+
# ft2_text2speech_hifi = Text2Speech.from_pretrained(
|
88 |
+
# model_tag=ft2_tag,
|
89 |
+
# vocoder_tag=str_or_none(hifigan_vocoder_tag_local),
|
90 |
+
# device="cuda",
|
91 |
+
# use_att_constraint=False,
|
92 |
+
# backward_window=1,
|
93 |
+
# forward_window=3,
|
94 |
+
# speed_control_alpha=1.0,
|
95 |
+
# )
|
96 |
+
|
97 |
+
# # transformer tag
|
98 |
+
# transformer_text2speech = Text2Speech.from_pretrained(
|
99 |
+
# model_tag=transformer_tag,
|
100 |
+
# vocoder_tag=str_or_none(vocoder_tag_local),
|
101 |
+
# device="cuda",
|
102 |
+
# use_att_constraint=False,
|
103 |
+
# backward_window=1,
|
104 |
+
# forward_window=3,
|
105 |
+
# speed_control_alpha=1.0,
|
106 |
+
# )
|
107 |
|
108 |
import glob
|
109 |
import os
|