Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -59,8 +59,8 @@ def inference(file_uploaded_in, file_uploaded_ref):
|
|
| 59 |
# clear out previously separated results
|
| 60 |
os.system(f"rm -r {yt_video_dir}/separated")
|
| 61 |
# change file path name
|
| 62 |
-
os.system(f"
|
| 63 |
-
os.system(f"
|
| 64 |
|
| 65 |
# Perform music mixing style transfer
|
| 66 |
args = set_up()
|
|
|
|
| 59 |
# clear out previously separated results
|
| 60 |
os.system(f"rm -r {yt_video_dir}/separated")
|
| 61 |
# change file path name
|
| 62 |
+
os.system(f"cp {file_uploaded_in} {yt_video_dir}/input.wav")
|
| 63 |
+
os.system(f"cp {file_uploaded_ref} {yt_video_dir}/reference.wav")
|
| 64 |
|
| 65 |
# Perform music mixing style transfer
|
| 66 |
args = set_up()
|