Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -118,11 +118,6 @@ if __name__ == "__main__":
|
|
| 118 |
声音归属:电棍otto https://space.bilibili.com/628845081\n
|
| 119 |
Bert-VITS2项目:https://github.com/Stardust-minus/Bert-VITS2\n
|
| 120 |
【AI电棍②】https://huggingface.co/spaces/XzJosh/Gun-Bert-VITS2\n
|
| 121 |
-
【AI塔菲】https://huggingface.co/spaces/XzJosh/Taffy-Bert-VITS2\n
|
| 122 |
-
【AI东雪莲】https://huggingface.co/spaces/XzJosh/Azuma-Bert-VITS2\n
|
| 123 |
-
【AI奶绿】https://huggingface.co/spaces/XzJosh/LAPLACE-Bert-VITS2\n
|
| 124 |
-
【AI尼奈】https://huggingface.co/spaces/XzJosh/nine1-Bert-VITS2\n
|
| 125 |
-
【AI珈乐】https://huggingface.co/spaces/XzJosh/Carol-Bert-VITS2\n
|
| 126 |
使用本模型请严格遵守法律法规!\n
|
| 127 |
发布二创作品请标注本项目作者及链接、作品使用Bert-VITS2 AI生成!\n
|
| 128 |
""")
|
|
@@ -137,7 +132,13 @@ if __name__ == "__main__":
|
|
| 137 |
with gr.Column():
|
| 138 |
text_output = gr.Textbox(label="Message")
|
| 139 |
audio_output = gr.Audio(label="Output Audio")
|
| 140 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 141 |
btn.click(tts_fn,
|
| 142 |
inputs=[text, speaker, sdp_ratio, noise_scale, noise_scale_w, length_scale],
|
| 143 |
outputs=[text_output, audio_output])
|
|
|
|
| 118 |
声音归属:电棍otto https://space.bilibili.com/628845081\n
|
| 119 |
Bert-VITS2项目:https://github.com/Stardust-minus/Bert-VITS2\n
|
| 120 |
【AI电棍②】https://huggingface.co/spaces/XzJosh/Gun-Bert-VITS2\n
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 121 |
使用本模型请严格遵守法律法规!\n
|
| 122 |
发布二创作品请标注本项目作者及链接、作品使用Bert-VITS2 AI生成!\n
|
| 123 |
""")
|
|
|
|
| 132 |
with gr.Column():
|
| 133 |
text_output = gr.Textbox(label="Message")
|
| 134 |
audio_output = gr.Audio(label="Output Audio")
|
| 135 |
+
gr.Markdown(value="""
|
| 136 |
+
【AI塔菲】https://huggingface.co/spaces/XzJosh/Taffy-Bert-VITS2\n
|
| 137 |
+
【AI东雪莲】https://huggingface.co/spaces/XzJosh/Azuma-Bert-VITS2\n
|
| 138 |
+
【AI奶绿】https://huggingface.co/spaces/XzJosh/LAPLACE-Bert-VITS2\n
|
| 139 |
+
【AI尼奈】https://huggingface.co/spaces/XzJosh/nine1-Bert-VITS2\n
|
| 140 |
+
【AI珈乐】https://huggingface.co/spaces/XzJosh/Carol-Bert-VITS2\n
|
| 141 |
+
""")
|
| 142 |
btn.click(tts_fn,
|
| 143 |
inputs=[text, speaker, sdp_ratio, noise_scale, noise_scale_w, length_scale],
|
| 144 |
outputs=[text_output, audio_output])
|