Spaces:
Runtime error
Runtime error
r0seyyyd33p
commited on
Commit
•
123e4d5
1
Parent(s):
0a3e2bd
Upload app.py
Browse files
app.py
CHANGED
@@ -556,7 +556,7 @@ def change_choices():
|
|
556 |
for file in files
|
557 |
if file.endswith((".pth", ".onnx"))]
|
558 |
indexes_list = [os.path.join(root, name) for root, _, files in os.walk(index_root, topdown=False) for name in files if name.endswith(".index") and "trained" not in name]
|
559 |
-
audio_paths = [os.path.join(audio_root, file) for file in os.listdir(os.path.join(now_dir, "audios"))]
|
560 |
|
561 |
|
562 |
return (
|
|
|
556 |
for file in files
|
557 |
if file.endswith((".pth", ".onnx"))]
|
558 |
indexes_list = [os.path.join(root, name) for root, _, files in os.walk(index_root, topdown=False) for name in files if name.endswith(".index") and "trained" not in name]
|
559 |
+
audio_paths = [os.path.join(audio_root, file) for file in os.listdir(os.path.join(now_dir, "audios")), os.path.join(audio_root, file) for file in os.listdir(os.path.join(now_dir, "audio-outputs"))]
|
560 |
|
561 |
|
562 |
return (
|