Spaces:
Runtime error
Runtime error
add
Browse files
app.py
CHANGED
@@ -98,12 +98,12 @@ def vc_fn(input_audio, vc_transform, auto_f0,cluster_ratio, slice_db, noise_scal
|
|
98 |
app = gr.Blocks()
|
99 |
with app:
|
100 |
with gr.Tabs():
|
101 |
-
with gr.
|
102 |
speaker = gr.Dropdown(label="讲话人", choices=speakers, value=speakers[0])
|
103 |
model_submit = gr.Button("加载模型", variant="primary")
|
104 |
model_output1 = gr.Textbox(label="Output Message")
|
105 |
model_submit.click(load, [speaker], [model_output1])
|
106 |
-
with gr.
|
107 |
# sid = gr.Dropdown(label="音色", choices=speakers, value=speakers[0])
|
108 |
vc_input3 = gr.Audio(label="上传音频")
|
109 |
vc_transform = gr.Number(label="变调(整数,可以正负,半音数量,升高八度就是12)", value=0)
|
|
|
98 |
app = gr.Blocks()
|
99 |
with app:
|
100 |
with gr.Tabs():
|
101 |
+
with gr.TabItem("模型"):
|
102 |
speaker = gr.Dropdown(label="讲话人", choices=speakers, value=speakers[0])
|
103 |
model_submit = gr.Button("加载模型", variant="primary")
|
104 |
model_output1 = gr.Textbox(label="Output Message")
|
105 |
model_submit.click(load, [speaker], [model_output1])
|
106 |
+
with gr.TabItem("推理"):
|
107 |
# sid = gr.Dropdown(label="音色", choices=speakers, value=speakers[0])
|
108 |
vc_input3 = gr.Audio(label="上传音频")
|
109 |
vc_transform = gr.Number(label="变调(整数,可以正负,半音数量,升高八度就是12)", value=0)
|