Spaces:
Runtime error
Runtime error
test
Browse files
app.py
CHANGED
|
@@ -15,7 +15,7 @@ os.system('./separate_scripts/download_checkpoints.sh')
|
|
| 15 |
|
| 16 |
def inference(audio):
|
| 17 |
input_path = audio.name
|
| 18 |
-
|
| 19 |
if input_path.endswith(".mp3"):
|
| 20 |
output_path = os.path.splitext(input_path)[0] + ".wav"
|
| 21 |
os.system(f"ffmpeg -y -loglevel panic -i {input_path} -acodec pcm_s16le -ar 44100 {output_path}")
|
|
|
|
| 15 |
|
| 16 |
def inference(audio):
|
| 17 |
input_path = audio.name
|
| 18 |
+
print(f"The audio file name is: {audio.name}")
|
| 19 |
if input_path.endswith(".mp3"):
|
| 20 |
output_path = os.path.splitext(input_path)[0] + ".wav"
|
| 21 |
os.system(f"ffmpeg -y -loglevel panic -i {input_path} -acodec pcm_s16le -ar 44100 {output_path}")
|