sreepathi-ravikumar commited on
Commit
1bc16b7
·
verified ·
1 Parent(s): d330638

Update video2.py

Browse files
Files changed (1) hide show
  1. video2.py +1 -13
video2.py CHANGED
@@ -62,16 +62,4 @@ def video_func(id, lines):
62
  output_dir=CLIPS_DIR # Add your output directory here
63
  )
64
  print(f"Created {clip_file}")
65
-
66
- def video_com(lines):
67
- video_path = f"/tmp/video_{uuid.uuid4().hex}.mp4"
68
- for id in range(len(lines)):
69
- video_func(id,lines)
70
- print(id,lines[id])
71
- clips = []
72
- for id in range(len(lines)):
73
- clip = f"/app/data/video/clip{id}.mp4"
74
- clips.append(clip)
75
-
76
- video_path = rust_combiner.combine_clips(clips)
77
- return video_path
 
62
  output_dir=CLIPS_DIR # Add your output directory here
63
  )
64
  print(f"Created {clip_file}")
65
+ return f"/app/data/video/clip{id}.mp4"