Update app.py
Browse files
app.py
CHANGED
|
@@ -14,7 +14,7 @@ def inference(input_file_path,model_name):
|
|
| 14 |
# Define the output file paths
|
| 15 |
filename = os.path.basename(input_file_path).split('.')[0]
|
| 16 |
if not filename:
|
| 17 |
-
filename=""
|
| 18 |
|
| 19 |
vocals_out = os.path.join(temp_out_dir, model_name,filename,"vocals.mp3")
|
| 20 |
no_vocals_out = os.path.join(temp_out_dir, model_name,filename,"no_vocals.mp3")
|
|
|
|
| 14 |
# Define the output file paths
|
| 15 |
filename = os.path.basename(input_file_path).split('.')[0]
|
| 16 |
if not filename:
|
| 17 |
+
filename="test"
|
| 18 |
|
| 19 |
vocals_out = os.path.join(temp_out_dir, model_name,filename,"vocals.mp3")
|
| 20 |
no_vocals_out = os.path.join(temp_out_dir, model_name,filename,"no_vocals.mp3")
|