Spaces:
Runtime error
Runtime error
feat: del model change
Browse files- GPT_SoVITS/inference_webui.py +19 -19
GPT_SoVITS/inference_webui.py
CHANGED
@@ -1194,25 +1194,25 @@ with gr.Blocks(title="GPT-SoVITS WebUI", analytics_enabled=False, js=js, css=css
|
|
1194 |
elem_classes="markdown",
|
1195 |
)
|
1196 |
with gr.Group():
|
1197 |
-
gr.Markdown(html_center(i18n("模型切换"), "h3"))
|
1198 |
-
with gr.Row():
|
1199 |
-
|
1200 |
-
|
1201 |
-
|
1202 |
-
|
1203 |
-
|
1204 |
-
|
1205 |
-
|
1206 |
-
|
1207 |
-
|
1208 |
-
|
1209 |
-
|
1210 |
-
|
1211 |
-
|
1212 |
-
|
1213 |
-
|
1214 |
-
|
1215 |
-
|
1216 |
SoVITS_dropdown, GPT_dropdown])
|
1217 |
gr.Markdown(html_center(i18n("*请上传并填写参考信息"), "h3"))
|
1218 |
with gr.Row():
|
|
|
1194 |
elem_classes="markdown",
|
1195 |
)
|
1196 |
with gr.Group():
|
1197 |
+
# gr.Markdown(html_center(i18n("模型切换"), "h3"))
|
1198 |
+
# with gr.Row():
|
1199 |
+
# GPT_dropdown = gr.Dropdown(
|
1200 |
+
# label=i18n("GPT模型列表"),
|
1201 |
+
# choices=sorted(GPT_names, key=custom_sort_key),
|
1202 |
+
# value=gpt_path,
|
1203 |
+
# interactive=True,
|
1204 |
+
# scale=14,
|
1205 |
+
# )
|
1206 |
+
# SoVITS_dropdown = gr.Dropdown(
|
1207 |
+
# label=i18n("SoVITS模型列表"),
|
1208 |
+
# choices=sorted(SoVITS_names, key=custom_sort_key),
|
1209 |
+
# value=sovits_path,
|
1210 |
+
# interactive=True,
|
1211 |
+
# scale=14,
|
1212 |
+
# )
|
1213 |
+
# refresh_button = gr.Button(
|
1214 |
+
# i18n("刷新模型路径"), variant="primary", scale=14)
|
1215 |
+
# refresh_button.click(fn=change_choices, inputs=[], outputs=[
|
1216 |
SoVITS_dropdown, GPT_dropdown])
|
1217 |
gr.Markdown(html_center(i18n("*请上传并填写参考信息"), "h3"))
|
1218 |
with gr.Row():
|