Omnibus commited on
Commit
9039dde
1 Parent(s): be29d1b

Update vc.py

Browse files
Files changed (1) hide show
  1. vc.py +2 -1
vc.py CHANGED
@@ -44,7 +44,8 @@ def trim_clip(clip, start_t, end_t):
44
 
45
  return f"{uid}-trim.wav"
46
  def pre_aud(inp):
47
- song = AudioSegment.from_file(Path(f'{inp}', format="mp4"))
 
48
  song.export(f"{uid}-tmp_aud.mp4", format="mp4")
49
  print(f'pre_aud:: {f"{uid}-tmp_aud.mp4"}')
50
  return f"{uid}-tmp_aud.mp4"
 
44
 
45
  return f"{uid}-trim.wav"
46
  def pre_aud(inp):
47
+ print(Path(inp))
48
+ song = AudioSegment.from_file(Path(f'{inp}'), format="mp4")
49
  song.export(f"{uid}-tmp_aud.mp4", format="mp4")
50
  print(f'pre_aud:: {f"{uid}-tmp_aud.mp4"}')
51
  return f"{uid}-tmp_aud.mp4"