Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -56,6 +56,9 @@ def get_audio_from_yt_video_ref(yt_link: str, start_point_in_second=0, duration_
|
|
| 56 |
return filename_ref, filename_ref
|
| 57 |
|
| 58 |
def inference(file_uploaded_in, file_uploaded_ref):
|
|
|
|
|
|
|
|
|
|
| 59 |
# Perform music mixing style transfer
|
| 60 |
args = set_up()
|
| 61 |
|
|
|
|
| 56 |
return filename_ref, filename_ref
|
| 57 |
|
| 58 |
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 |
+
|
| 62 |
# Perform music mixing style transfer
|
| 63 |
args = set_up()
|
| 64 |
|