Spaces:
Runtime error
Runtime error
Commit
·
acb3e87
1
Parent(s):
9aa7d5b
Update app.py
Browse files
app.py
CHANGED
|
@@ -184,10 +184,10 @@ def predict(prompt, language, audio_file_pth, mic_file_path, use_mic, voice_clea
|
|
| 184 |
)
|
| 185 |
|
| 186 |
|
| 187 |
-
title = "🐸 XTTS - 3
|
| 188 |
|
| 189 |
description = f"""
|
| 190 |
-
## <center>🌟 -
|
| 191 |
### <center>🌊 - 更多精彩应用,尽在[滔滔AI](http://www.talktalkai.com);滔滔AI,为爱滔滔!💕</center>
|
| 192 |
""".strip()
|
| 193 |
|
|
@@ -330,6 +330,8 @@ gr.Interface(
|
|
| 330 |
inputs=[
|
| 331 |
gr.Textbox(
|
| 332 |
label="想要合成的文本内容",
|
|
|
|
|
|
|
| 333 |
),
|
| 334 |
gr.Dropdown(
|
| 335 |
label="请选择文本内容对应的语言",
|
|
@@ -371,17 +373,17 @@ gr.Interface(
|
|
| 371 |
visible=False,
|
| 372 |
info="Check to disable language auto-detection",),
|
| 373 |
gr.Checkbox(
|
| 374 |
-
label="
|
| 375 |
value=True,
|
| 376 |
-
info="
|
| 377 |
),
|
| 378 |
|
| 379 |
|
| 380 |
],
|
| 381 |
outputs=[
|
| 382 |
-
gr.Video(label="
|
| 383 |
-
gr.Audio(label="Synthesised Audio"),
|
| 384 |
-
gr.Audio(label="Reference Audio Used"),
|
| 385 |
],
|
| 386 |
title=title,
|
| 387 |
description=description,
|
|
|
|
| 184 |
)
|
| 185 |
|
| 186 |
|
| 187 |
+
title = "🐸 XTTS - 3秒语音合成,支持中英双语,告别电音!"
|
| 188 |
|
| 189 |
description = f"""
|
| 190 |
+
## <center>🌟 - 只需上传3~10秒语音,支持13种语言,中文能力极大增强!使用[Colab笔记本](https://github.com/KevinWang676/Bark-Voice-Cloning)运行;Powered by [Coqui AI](https://coqui.ai/)</center>
|
| 191 |
### <center>🌊 - 更多精彩应用,尽在[滔滔AI](http://www.talktalkai.com);滔滔AI,为爱滔滔!💕</center>
|
| 192 |
""".strip()
|
| 193 |
|
|
|
|
| 330 |
inputs=[
|
| 331 |
gr.Textbox(
|
| 332 |
label="想要合成的文本内容",
|
| 333 |
+
lines=3,
|
| 334 |
+
placeholder="想说却还没说的 还很多"
|
| 335 |
),
|
| 336 |
gr.Dropdown(
|
| 337 |
label="请选择文本内容对应的语言",
|
|
|
|
| 373 |
visible=False,
|
| 374 |
info="Check to disable language auto-detection",),
|
| 375 |
gr.Checkbox(
|
| 376 |
+
label="我承诺:不会利用此程序生成对个人或组织造成侵害的任何内容",
|
| 377 |
value=True,
|
| 378 |
+
info="使用条款",
|
| 379 |
),
|
| 380 |
|
| 381 |
|
| 382 |
],
|
| 383 |
outputs=[
|
| 384 |
+
gr.Video(label="为您合成的专属音频"),
|
| 385 |
+
gr.Audio(label="Synthesised Audio", visible=False),
|
| 386 |
+
gr.Audio(label="Reference Audio Used", visible=False),
|
| 387 |
],
|
| 388 |
title=title,
|
| 389 |
description=description,
|