fffiloni commited on
Commit
f4b9351
1 Parent(s): bec6d41

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -136,6 +136,7 @@ def infer(video_in):
136
  # Save the cut video
137
  cut_video.write_videofile(output_video_path, codec='libx264', audio_codec='aac')
138
  print(f"Cut video saved as: {output_video_path}")
 
139
 
140
  # Delete the original video file
141
  os.remove(input_video_path)
 
136
  # Save the cut video
137
  cut_video.write_videofile(output_video_path, codec='libx264', audio_codec='aac')
138
  print(f"Cut video saved as: {output_video_path}")
139
+ video_in = output_video_path
140
 
141
  # Delete the original video file
142
  os.remove(input_video_path)