Spaces:
Build error
Build error
Commit
•
521e6a5
1
Parent(s):
0934275
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
import re
|
2 |
import gradio as gr
|
3 |
import torch
|
@@ -109,10 +110,8 @@ idols = ["南小鸟","园田海未","小泉花阳","星空凛","东条希","矢
|
|
109 |
app = gr.Blocks()
|
110 |
with app:
|
111 |
with gr.Tabs():
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
tts_input1 = gr.TextArea(label="请输入纯中文或纯日文", value="大家好")
|
116 |
speaker1 = gr.Dropdown(label="选择说话人",choices=idols, value="高坂穗乃果", interactive=True)
|
117 |
tts_submit = gr.Button("Generate", variant="primary")
|
118 |
tts_output2 = gr.Audio(label="Output")
|
|
|
1 |
+
|
2 |
import re
|
3 |
import gradio as gr
|
4 |
import torch
|
|
|
110 |
app = gr.Blocks()
|
111 |
with app:
|
112 |
with gr.Tabs():
|
113 |
+
with gr.TabItem("面板"):
|
114 |
+
tts_input1 = gr.TextArea(label="请输入纯中文或纯日文", value="大家好,今天给大家来点想看的东西啊")
|
|
|
|
|
115 |
speaker1 = gr.Dropdown(label="选择说话人",choices=idols, value="高坂穗乃果", interactive=True)
|
116 |
tts_submit = gr.Button("Generate", variant="primary")
|
117 |
tts_output2 = gr.Audio(label="Output")
|