Spaces:
Runtime error
Runtime error
kevinwang676
commited on
Commit
•
072570b
1
Parent(s):
513b51d
Update app.py
Browse files
app.py
CHANGED
@@ -131,11 +131,9 @@ if __name__ == '__main__':
|
|
131 |
models.append((name, title, cover, create_vc_fn(tgt_sr, net_g, vc, if_f0, index)))
|
132 |
with gr.Blocks() as app:
|
133 |
gr.Markdown(
|
134 |
-
"# <center
|
135 |
-
"## <center>
|
136 |
-
"### <center>
|
137 |
-
"[![image](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/110kiMZTdP6Ri1lY9-NbQf17GVPPhHyeT?usp=sharing)\n\n"
|
138 |
-
"[![Original Repo](https://badgen.net/badge/icon/github?icon=github&label=Original%20Repo)](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI)"
|
139 |
)
|
140 |
with gr.Tabs():
|
141 |
for (name, title, cover, vc_fn) in models:
|
@@ -173,4 +171,11 @@ if __name__ == '__main__':
|
|
173 |
vc_output2 = gr.Audio(label="Output Audio")
|
174 |
vc_submit.click(vc_fn, [vc_input, vc_transpose, vc_f0method, vc_index_ratio, tts_mode, tts_text, tts_voice], [vc_output1, vc_output2])
|
175 |
tts_mode.change(change_to_tts_mode, [tts_mode], [vc_input, tts_text, tts_voice])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
176 |
app.queue(concurrency_count=1, max_size=20, api_open=config.api).launch(share=config.share, show_error=True)
|
|
|
131 |
models.append((name, title, cover, create_vc_fn(tgt_sr, net_g, vc, if_f0, index)))
|
132 |
with gr.Blocks() as app:
|
133 |
gr.Markdown(
|
134 |
+
"# <center>🥳🎶🎡 - AI歌手,RVC歌声转换"
|
135 |
+
"## <center>Powered by [RVC-Project](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI)"
|
136 |
+
"### <center>更多精彩应用,敬请关注[滔滔AI](http://www.talktalkai.com);滔滔AI,为爱滔滔!💕</center>"
|
|
|
|
|
137 |
)
|
138 |
with gr.Tabs():
|
139 |
for (name, title, cover, vc_fn) in models:
|
|
|
171 |
vc_output2 = gr.Audio(label="Output Audio")
|
172 |
vc_submit.click(vc_fn, [vc_input, vc_transpose, vc_f0method, vc_index_ratio, tts_mode, tts_text, tts_voice], [vc_output1, vc_output2])
|
173 |
tts_mode.change(change_to_tts_mode, [tts_mode], [vc_input, tts_text, tts_voice])
|
174 |
+
gr.Markdown("### <center>注意❗:请不要生成会对个人以及组织造成侵害的内容,此程序仅供科研、学习及个人娱乐使用。用户生成内容与程序开发者无关,请自觉合法合规使用,违反者一切后果自负。<\center>")
|
175 |
+
gr.HTML('''
|
176 |
+
<div class="footer">
|
177 |
+
<p>🌊🏞️🎶 - 江水东流急,滔滔无尽声。 明·顾璘
|
178 |
+
</p>
|
179 |
+
</div>
|
180 |
+
''')
|
181 |
app.queue(concurrency_count=1, max_size=20, api_open=config.api).launch(share=config.share, show_error=True)
|