kevinwang676 commited on
Commit
a8923f2
1 Parent(s): acda046

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -5
app.py CHANGED
@@ -110,12 +110,9 @@ def extend(audio):
110
  app = gr.Blocks()
111
 
112
  with app:
113
- gr.HTML("<center>"
114
- "<h1>🥳🎶🎡 - KanTTS中文声音克隆</h1>"
115
- "</center>")
116
  gr.Markdown("## <center>🌊 - 更多精彩应用,敬请关注[滔滔AI](http://www.talktalkai.com);滔滔AI,为爱滔滔!💕</center>")
117
 
118
-
119
  with gr.Row():
120
  with gr.Column():
121
  inp = gr.Textbox(lines=5, label="请填写您想要转换的中文文本")
@@ -131,5 +128,12 @@ with app:
131
  btn.click(fn=infer, inputs=[inp], outputs=[out])
132
  btn1.click(fn=infer1, inputs=[inp], outputs=[out])
133
  btn2.click(fn=extend, inputs=[out], outputs=[out1])
134
-
 
 
 
 
 
 
 
135
  app.launch(show_error=True)
 
110
  app = gr.Blocks()
111
 
112
  with app:
113
+ gr.Markdown("# <center>🥳🎶🎡 - KanTTS中文声音克隆</center>")
 
 
114
  gr.Markdown("## <center>🌊 - 更多精彩应用,敬请关注[滔滔AI](http://www.talktalkai.com);滔滔AI,为爱滔滔!💕</center>")
115
 
 
116
  with gr.Row():
117
  with gr.Column():
118
  inp = gr.Textbox(lines=5, label="请填写您想要转换的中文文本")
 
128
  btn.click(fn=infer, inputs=[inp], outputs=[out])
129
  btn1.click(fn=infer1, inputs=[inp], outputs=[out])
130
  btn2.click(fn=extend, inputs=[out], outputs=[out1])
131
+
132
+ gr.Markdown("### <center>注意❗:请不要生成会对个人以及组织造成侵害的内容,此程序仅供科研、学习及个人娱乐使用。</center>")
133
+ gr.HTML('''
134
+ <div class="footer">
135
+ <p>🌊🏞️🎶 - 江水东流急,滔滔无尽声。 明·顾璘
136
+ </p>
137
+ </div>
138
+ ''')
139
  app.launch(show_error=True)