From f79de0c81b6e748f8aa87ab94895c738f1808fcf Mon Sep 17 00:00:00 2001 From: 34j <55338215+34j@users.noreply.github.com> Date: Sat, 6 May 2023 12:41:42 +0900 Subject: [PATCH] fix(gui): always refresh output path if input path changed (#578) --- src/so_vits_svc_fork/gui.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/so_vits_svc_fork/gui.py b/src/so_vits_svc_fork/gui.py index 9195bd05..602a6397 100644 --- a/src/so_vits_svc_fork/gui.py +++ b/src/so_vits_svc_fork/gui.py @@ -615,8 +615,8 @@ def apply_preset(name: str) -> None: update_speaker() elif event == "input_path": # Don't change the output path if it's already set - if values["output_path"]: - continue + # if values["output_path"]: + # continue # Set a sensible default output path window.Element("output_path").Update(str(get_output_path(input_path))) elif event == "infer":