Spaces:
Paused
Paused
darksakura
commited on
Commit
•
b396d45
1
Parent(s):
0db549c
Update app.py
Browse files
app.py
CHANGED
@@ -168,17 +168,14 @@ if __name__ == "__main__":
|
|
168 |
with gr.Row():
|
169 |
with gr.Column():
|
170 |
gr.Markdown(value="""
|
171 |
-
🤖 【AI
|
172 |
-
|
173 |
-
|
174 |
-
🔗 Bert-VITS2:https://github.com/fishaudio/Bert-VITS2 🔗\n
|
175 |
-
✅ 使用本模型请遵守中华人民共和国和美利坚合众国法律 ✅\n
|
176 |
-
🏷️ 使用基于本模型的所有生成内容均需标注「使用Bert-VITS2 AI生成」、「本项目地址」、「作者名称」和「声音来源」 🏷️\n
|
177 |
""")
|
178 |
text = gr.TextArea(
|
179 |
label="Text",
|
180 |
placeholder="Input Text Here",
|
181 |
-
value="
|
182 |
)
|
183 |
speaker = gr.Dropdown(
|
184 |
choices=speakers, value=speakers[0], label="Speaker"
|
@@ -202,15 +199,6 @@ if __name__ == "__main__":
|
|
202 |
with gr.Column():
|
203 |
text_output = gr.Textbox(label="Message")
|
204 |
audio_output = gr.Audio(label="Output Audio")
|
205 |
-
gr.Markdown(value="""
|
206 |
-
👏 鸣谢: 👏\n
|
207 |
-
👤 团子是咸鱼 https://space.bilibili.com/10685437 👤\n
|
208 |
-
👤 领航员未鸟 https://space.bilibili.com/2403955 👤\n
|
209 |
-
👤 Xz乔希 https://space.bilibili.com/5859321 👤\n
|
210 |
-
👤 怎么好就怎么来 https://space.bilibili.com/259582714 👤\n
|
211 |
-
🧠 Google Colab https://colab.research.google.com/ 🧠\n
|
212 |
-
📧 如果你是“Hanser”,并且希望对此模型主张权利,请通过上方“作者”部分的联系方式联系,我将积极配合处理。📧 \n
|
213 |
-
""")
|
214 |
|
215 |
btn.click(
|
216 |
tts_fn,
|
|
|
168 |
with gr.Row():
|
169 |
with gr.Column():
|
170 |
gr.Markdown(value="""
|
171 |
+
🤖 【AI 乃木坂46】在线语音合成 Bert-Vits2 🤖\n
|
172 |
+
🎤 声音来源:乃木坂46 🎤\n
|
173 |
+
✅ 使用本模型请遵守中华人民共和国法律 ✅\n
|
|
|
|
|
|
|
174 |
""")
|
175 |
text = gr.TextArea(
|
176 |
label="Text",
|
177 |
placeholder="Input Text Here",
|
178 |
+
value="大家好,我是秋元康,今天给大家看看我的女儿们",
|
179 |
)
|
180 |
speaker = gr.Dropdown(
|
181 |
choices=speakers, value=speakers[0], label="Speaker"
|
|
|
199 |
with gr.Column():
|
200 |
text_output = gr.Textbox(label="Message")
|
201 |
audio_output = gr.Audio(label="Output Audio")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
202 |
|
203 |
btn.click(
|
204 |
tts_fn,
|