Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -38,8 +38,6 @@ WEIGHT_ROOT = os.path.join(now_dir, "weights")
|
|
| 38 |
INDEX_ROOT = os.path.join(WEIGHT_ROOT, "index")
|
| 39 |
|
| 40 |
# Create necessary directories
|
| 41 |
-
os.makedirs(WEIGHT_ROOT, exist_ok=True)
|
| 42 |
-
os.makedirs(INDEX_ROOT, exist_ok=True)
|
| 43 |
os.makedirs(os.path.join(now_dir, "output"), exist_ok=True) # For demucs output
|
| 44 |
os.makedirs(os.path.join(now_dir, "dl_audio"), exist_ok=True) # For youtube-dl output
|
| 45 |
|
|
|
|
| 38 |
INDEX_ROOT = os.path.join(WEIGHT_ROOT, "index")
|
| 39 |
|
| 40 |
# Create necessary directories
|
|
|
|
|
|
|
| 41 |
os.makedirs(os.path.join(now_dir, "output"), exist_ok=True) # For demucs output
|
| 42 |
os.makedirs(os.path.join(now_dir, "dl_audio"), exist_ok=True) # For youtube-dl output
|
| 43 |
|