Spaces:
Running
Running
kevinwang676
commited on
Commit
·
7fcb0ce
1
Parent(s):
239000b
Update app.py
Browse files
app.py
CHANGED
@@ -37,6 +37,8 @@ def infer(text):
|
|
37 |
output = inference(input=text)
|
38 |
return output["output_wav"]
|
39 |
|
|
|
|
|
40 |
with app:
|
41 |
gr.HTML("<center>"
|
42 |
"<h1>🥳🎶🎡 - KanTTS中文声音克隆</h1>"
|
@@ -52,3 +54,4 @@ with app:
|
|
52 |
|
53 |
btn.click(fn=infer, inputs=[inp], outputs=[out])
|
54 |
|
|
|
|
37 |
output = inference(input=text)
|
38 |
return output["output_wav"]
|
39 |
|
40 |
+
app = gr.Blocks()
|
41 |
+
|
42 |
with app:
|
43 |
gr.HTML("<center>"
|
44 |
"<h1>🥳🎶🎡 - KanTTS中文声音克隆</h1>"
|
|
|
54 |
|
55 |
btn.click(fn=infer, inputs=[inp], outputs=[out])
|
56 |
|
57 |
+
app.launch(show_error=True)
|