From fd89bb09d6fbebbc38c422b0f08092d50a29c954 Mon Sep 17 00:00:00 2001 From: RVC-Boss <129054828+RVC-Boss@users.noreply.github.com> Date: Sat, 27 Jan 2024 16:05:05 +0800 Subject: [PATCH] Update webui.py --- webui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webui.py b/webui.py index 0333c4e..885aecb 100644 --- a/webui.py +++ b/webui.py @@ -30,7 +30,7 @@ os.environ["all_proxy"] = "" for site_packages_root in site_packages_roots: if os.path.exists(site_packages_root): try: - with open("%s/users.pth" % (site_packages_root), "w+") as f: + with open("%s/users.pth" % (site_packages_root), "w") as f: f.write( "%s\n%s/tools\n%s/tools/damo_asr\n%s/GPT_SoVITS\n%s/tools/uvr5" % (now_dir, now_dir, now_dir, now_dir, now_dir)