1
0
mirror of https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI.git synced 2026-06-05 09:10:25 +08:00

feat: update to latest torch & gradio version

This commit is contained in:
源文雨
2024-11-27 22:16:06 +09:00
parent 7c0b1c01f1
commit 4b68fb0e13
8 changed files with 40 additions and 37 deletions

View File

@@ -1,4 +1,4 @@
import os
import os, pathlib
from fairseq import checkpoint_utils
@@ -8,7 +8,7 @@ def get_index_path_from_model(sid):
(
f
for f in [
os.path.join(root, name)
str(pathlib.Path(root, name))
for path in [os.getenv("outside_index_root"), os.getenv("index_root")]
for root, _, files in os.walk(path, topdown=False)
for name in files