r0seyyyd33p commited on
Commit
7f5e0f7
1 Parent(s): 123e4d5

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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")), os.path.join(audio_root, file) for file in os.listdir(os.path.join(now_dir, "audio-outputs"))]
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 (