Skip to content

Commit eef34a1

Browse files
committed
New demo featuring wordle
1 parent 8044cb4 commit eef34a1

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

assets/mov_to_2x_mov_and_gif.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22
import os
33

44
# Load the video
5-
video_name = "meal_plan_demo"
5+
# NOTE: If the video is too big you might have to trim it yourself first
6+
video_name = "wordle_demo"
67
video = VideoFileClip(video_name + ".mov")
78

89
# Define the segments to remove (in seconds) as tuples (start, end)
9-
segments_to_remove = [(7, 25), (55, 74), (99, int(video.duration))]
10+
segments_to_remove = [(4, 20), (30, 40), (55, 80), (87, 97)]
1011

1112
# Create a list to hold the subclips
1213
subclips = []

assets/palette.png

11 Bytes
Loading

assets/wordle_demo_2x.gif

15.1 MB
Loading

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ httpx==0.26.0
1111
idna==3.7
1212
macholib==1.16.3
1313
MouseInfo==0.1.3
14+
moviepy==1.0.3
1415
openai==1.36.1
1516
packaging==24.2
1617
pillow==10.3.0

0 commit comments

Comments
 (0)