Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -127,15 +127,13 @@ def inference_denoise(audio):
|
|
127 |
app = gr.Blocks()
|
128 |
|
129 |
with app:
|
130 |
-
gr.Markdown("# <center>🥳🎶🎡 - KanTTS中文声音克隆</center>")
|
131 |
-
gr.Markdown("## <center>🌊 - 更多精彩应用,敬请关注[滔滔AI](http://www.talktalkai.com);滔滔AI,为爱滔滔!💕</center>")
|
132 |
|
133 |
with gr.Row():
|
134 |
with gr.Column():
|
135 |
inp = gr.Textbox(lines=5, label="请填写您想要转换的中文文本")
|
136 |
with gr.Row():
|
137 |
-
btn = gr.Button("
|
138 |
-
btn1 = gr.Button("
|
139 |
with gr.Column():
|
140 |
with gr.Row():
|
141 |
out = gr.Audio(label="为您生成的专属音频")
|
@@ -153,8 +151,6 @@ with app:
|
|
153 |
gr.Markdown("### <center>注意❗:请不要生成会对个人以及组织造成侵害的内容,此程序仅供科研、学习及个人娱乐使用。</center>")
|
154 |
gr.HTML('''
|
155 |
<div class="footer">
|
156 |
-
<p>🌊🏞️🎶 - 江水东流急,滔滔无尽声。 明·顾璘
|
157 |
-
</p>
|
158 |
</div>
|
159 |
''')
|
160 |
app.launch(show_error=True)
|
|
|
127 |
app = gr.Blocks()
|
128 |
|
129 |
with app:
|
|
|
|
|
130 |
|
131 |
with gr.Row():
|
132 |
with gr.Column():
|
133 |
inp = gr.Textbox(lines=5, label="请填写您想要转换的中文文本")
|
134 |
with gr.Row():
|
135 |
+
btn = gr.Button("使用第一种声音", variant="primary")
|
136 |
+
btn1 = gr.Button("使用第二种声音", variant="primary")
|
137 |
with gr.Column():
|
138 |
with gr.Row():
|
139 |
out = gr.Audio(label="为您生成的专属音频")
|
|
|
151 |
gr.Markdown("### <center>注意❗:请不要生成会对个人以及组织造成侵害的内容,此程序仅供科研、学习及个人娱乐使用。</center>")
|
152 |
gr.HTML('''
|
153 |
<div class="footer">
|
|
|
|
|
154 |
</div>
|
155 |
''')
|
156 |
app.launch(show_error=True)
|