tym517 commited on
Commit
f5592d7
·
verified ·
1 Parent(s): 87af06d

Update easy_infer.py

Browse files
Files changed (1) hide show
  1. easy_infer.py +2 -2
easy_infer.py CHANGED
@@ -49,9 +49,9 @@ config = Config()
49
  tmp = os.path.join(now_dir, "TEMP")
50
  shutil.rmtree(tmp, ignore_errors=True)
51
  os.environ["TEMP"] = tmp
52
- weight_root = os.getenv("weight_root")
53
  weight_uvr5_root = os.getenv("weight_uvr5_root")
54
- index_root = os.getenv("index_root")
55
  audio_root = "audios"
56
  names = []
57
  for name in os.listdir(weight_root):
 
49
  tmp = os.path.join(now_dir, "TEMP")
50
  shutil.rmtree(tmp, ignore_errors=True)
51
  os.environ["TEMP"] = tmp
52
+ weight_root = "assets/weights"
53
  weight_uvr5_root = os.getenv("weight_uvr5_root")
54
+ index_root = "assets/indices"
55
  audio_root = "audios"
56
  names = []
57
  for name in os.listdir(weight_root):