sreepathi-ravikumar commited on
Commit
6ad5936
·
verified ·
1 Parent(s): 04a1f81

Update video2.py

Browse files
Files changed (1) hide show
  1. video2.py +6 -1
video2.py CHANGED
@@ -53,7 +53,12 @@ def video_func(id, lines):
53
  words.append((txt, box))
54
 
55
  clip_file = rust_highlight.render_video(
56
- id, image_path, audio_path, duration, words
 
 
 
 
 
57
  )
58
  print(f"Created {clip_file}")
59
 
 
53
  words.append((txt, box))
54
 
55
  clip_file = rust_highlight.render_video(
56
+ id=id,
57
+ image_path=image_path,
58
+ audio_path=audio_path,
59
+ duration=duration,
60
+ words=words,
61
+ output_dir=CLIPS_DIR # Add your output directory here
62
  )
63
  print(f"Created {clip_file}")
64