Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1168,12 +1168,7 @@ with gr.Blocks(title="RVC WebUI") as app:
|
|
1168 |
interactive=True,
|
1169 |
)
|
1170 |
|
1171 |
-
|
1172 |
-
preprocess_dataset,
|
1173 |
-
[trainset_dir4, exp_dir1, sr2, np7],
|
1174 |
-
[info1],
|
1175 |
-
api_name="train_preprocess",
|
1176 |
-
)
|
1177 |
with gr.Group():
|
1178 |
gr.Markdown(
|
1179 |
value=i18n(
|
@@ -1216,20 +1211,7 @@ with gr.Blocks(title="RVC WebUI") as app:
|
|
1216 |
inputs=[f0method8],
|
1217 |
outputs=[gpus_rmvpe],
|
1218 |
)
|
1219 |
-
|
1220 |
-
extract_f0_feature,
|
1221 |
-
[
|
1222 |
-
gpus6,
|
1223 |
-
np7,
|
1224 |
-
f0method8,
|
1225 |
-
if_f0_3,
|
1226 |
-
exp_dir1,
|
1227 |
-
version19,
|
1228 |
-
gpus_rmvpe,
|
1229 |
-
],
|
1230 |
-
[info2],
|
1231 |
-
api_name="train_extract_f0_feature",
|
1232 |
-
)
|
1233 |
with gr.Group():
|
1234 |
gr.Markdown(value=i18n("step3: 填写训练设置, 开始训练模型和索引"))
|
1235 |
with gr.Row():
|
@@ -1320,6 +1302,26 @@ with gr.Blocks(title="RVC WebUI") as app:
|
|
1320 |
but4 = gr.Button(i18n("训练特征索引"), variant="primary")
|
1321 |
but5 = gr.Button(i18n("一键训练"), variant="primary")
|
1322 |
info3 = gr.Textbox(label=i18n("输出信息"), value="", max_lines=10)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1323 |
but3.click(
|
1324 |
click_train,
|
1325 |
[
|
|
|
1168 |
interactive=True,
|
1169 |
)
|
1170 |
|
1171 |
+
|
|
|
|
|
|
|
|
|
|
|
1172 |
with gr.Group():
|
1173 |
gr.Markdown(
|
1174 |
value=i18n(
|
|
|
1211 |
inputs=[f0method8],
|
1212 |
outputs=[gpus_rmvpe],
|
1213 |
)
|
1214 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1215 |
with gr.Group():
|
1216 |
gr.Markdown(value=i18n("step3: 填写训练设置, 开始训练模型和索引"))
|
1217 |
with gr.Row():
|
|
|
1302 |
but4 = gr.Button(i18n("训练特征索引"), variant="primary")
|
1303 |
but5 = gr.Button(i18n("一键训练"), variant="primary")
|
1304 |
info3 = gr.Textbox(label=i18n("输出信息"), value="", max_lines=10)
|
1305 |
+
but1.click(
|
1306 |
+
preprocess_dataset,
|
1307 |
+
[trainset_dir4, exp_dir1, sr2, np7],
|
1308 |
+
[info1],
|
1309 |
+
api_name="train_preprocess",
|
1310 |
+
)
|
1311 |
+
but2.click(
|
1312 |
+
extract_f0_feature,
|
1313 |
+
[
|
1314 |
+
gpus6,
|
1315 |
+
np7,
|
1316 |
+
f0method8,
|
1317 |
+
if_f0_3,
|
1318 |
+
exp_dir1,
|
1319 |
+
version19,
|
1320 |
+
gpus_rmvpe,
|
1321 |
+
],
|
1322 |
+
[info2],
|
1323 |
+
api_name="train_extract_f0_feature",
|
1324 |
+
)
|
1325 |
but3.click(
|
1326 |
click_train,
|
1327 |
[
|