Update easy_infer.py
Browse files- 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 =
|
| 53 |
weight_uvr5_root = os.getenv("weight_uvr5_root")
|
| 54 |
-
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):
|