mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-04-06 03:57:44 +08:00
Update webui.py
This commit is contained in:
parent
125e40d9dd
commit
fd89bb09d6
2
webui.py
2
webui.py
@ -30,7 +30,7 @@ os.environ["all_proxy"] = ""
|
|||||||
for site_packages_root in site_packages_roots:
|
for site_packages_root in site_packages_roots:
|
||||||
if os.path.exists(site_packages_root):
|
if os.path.exists(site_packages_root):
|
||||||
try:
|
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(
|
f.write(
|
||||||
"%s\n%s/tools\n%s/tools/damo_asr\n%s/GPT_SoVITS\n%s/tools/uvr5"
|
"%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)
|
% (now_dir, now_dir, now_dir, now_dir, now_dir)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user