LittleLirow commited on
Commit
4a5397d
1 Parent(s): fa240bf

Update join return path

Browse files
Files changed (1) hide show
  1. join.py +1 -1
join.py CHANGED
@@ -5,5 +5,5 @@ def join_artifacts():
5
  audio_in = ffmpeg.input('audio_out.mp3')
6
  video_in = ffmpeg.input('video_out.mp4')
7
  ffmpeg.concat(video_in.filter("subtitles", "audio_out.srt"), audio_in, v=1, a=1).output('av_out.mp4').run()
8
- av_path = os.path.join(os.path.dirname(__file__), "av_out.mp4")
9
  return av_path
 
5
  audio_in = ffmpeg.input('audio_out.mp3')
6
  video_in = ffmpeg.input('video_out.mp4')
7
  ffmpeg.concat(video_in.filter("subtitles", "audio_out.srt"), audio_in, v=1, a=1).output('av_out.mp4').run()
8
+ av_path = os.path.join(os.getcwd(), "av_out.mp4")
9
  return av_path