jone commited on
Commit
915d50b
1 Parent(s): 4d51a23
Files changed (1) hide show
  1. app.py +1 -1
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}")