Spaces:
Sleeping
Sleeping
Upload infertest.py
Browse files- infertest.py +2 -1
infertest.py
CHANGED
|
@@ -489,7 +489,8 @@ def combine_vocal_and_inst(vocal_path, inst_path):
|
|
| 489 |
'-c:a', 'libmp3lame',
|
| 490 |
output_path
|
| 491 |
]
|
| 492 |
-
result = subprocess.run(command.split(), stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
|
|
|
| 493 |
if result.stderr:
|
| 494 |
print("Error:", result.stderr.decode())
|
| 495 |
else:
|
|
|
|
| 489 |
'-c:a', 'libmp3lame',
|
| 490 |
output_path
|
| 491 |
]
|
| 492 |
+
#result = subprocess.run(command.split(), stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
| 493 |
+
result = subprocess.run(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
| 494 |
if result.stderr:
|
| 495 |
print("Error:", result.stderr.decode())
|
| 496 |
else:
|