Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -79,11 +79,9 @@ css = """
|
|
79 |
|
80 |
if __name__ == '__main__':
|
81 |
models_tts = []
|
82 |
-
|
83 |
-
models_soft_vc = []
|
84 |
-
name = 'BlueArchiveTTS'
|
85 |
lang = 'ζ₯ζ¬θͺ (Japanese)'
|
86 |
-
example = '
|
87 |
config_path = f"saved_model/config.json"
|
88 |
model_path = f"saved_model/model.pth"
|
89 |
cover_path = f"saved_model/cover.png"
|
@@ -118,15 +116,15 @@ if __name__ == '__main__':
|
|
118 |
app = gr.Blocks(css=css)
|
119 |
|
120 |
with app:
|
121 |
-
gr.Markdown("#
|
122 |
"## Model Updated: VITS -> VITS2\n\n"
|
123 |
-
":
|
125 |
with gr.TabItem("TTS"):
|
126 |
with gr.Tabs():
|
127 |
for i, (name, cover_path, speakers, lang, example, symbols, tts_fn,
|
128 |
to_phoneme_fn) in enumerate(models_tts):
|
129 |
-
with gr.TabItem(f"
|
130 |
with gr.Column():
|
131 |
gr.Markdown(f"## {name}\n\n"
|
132 |
f"\n\n"
|
@@ -142,4 +140,4 @@ if __name__ == '__main__':
|
|
142 |
tts_submit.click(tts_fn, [tts_input1, tts_input2, tts_input3],
|
143 |
[tts_output1, tts_output2])
|
144 |
|
145 |
-
app.queue(concurrency_count=3).launch(show_api=False)
|
|
|
79 |
|
80 |
if __name__ == '__main__':
|
81 |
models_tts = []
|
82 |
+
name = 'HioriTTS'
|
|
|
|
|
83 |
lang = 'ζ₯ζ¬θͺ (Japanese)'
|
84 |
+
example = 'γγγγ₯γΌγ΅γΌγδ»ζ₯γθ―γδΈζ₯γοΌ'
|
85 |
config_path = f"saved_model/config.json"
|
86 |
model_path = f"saved_model/model.pth"
|
87 |
cover_path = f"saved_model/cover.png"
|
|
|
116 |
app = gr.Blocks(css=css)
|
117 |
|
118 |
with app:
|
119 |
+
gr.Markdown("# HioriTTS Using VITS2 Model\n\n"
|
120 |
"## Model Updated: VITS -> VITS2\n\n"
|
121 |
+
"\n\n")
|
122 |
with gr.Tabs():
|
123 |
with gr.TabItem("TTS"):
|
124 |
with gr.Tabs():
|
125 |
for i, (name, cover_path, speakers, lang, example, symbols, tts_fn,
|
126 |
to_phoneme_fn) in enumerate(models_tts):
|
127 |
+
with gr.TabItem(f"Hiori"):
|
128 |
with gr.Column():
|
129 |
gr.Markdown(f"## {name}\n\n"
|
130 |
f"\n\n"
|
|
|
140 |
tts_submit.click(tts_fn, [tts_input1, tts_input2, tts_input3],
|
141 |
[tts_output1, tts_output2])
|
142 |
|
143 |
+
app.queue(concurrency_count=3).launch(show_api=False)
|