Skip to content

Commit

Permalink
New demo featuring wordle
Browse files Browse the repository at this point in the history
  • Loading branch information
AmberSahdev committed Jan 14, 2025
1 parent 8044cb4 commit eef34a1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions assets/mov_to_2x_mov_and_gif.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
import os

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

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

# Create a list to hold the subclips
subclips = []
Expand Down
Binary file modified assets/palette.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/wordle_demo_2x.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ httpx==0.26.0
idna==3.7
macholib==1.16.3
MouseInfo==0.1.3
moviepy==1.0.3
openai==1.36.1
packaging==24.2
pillow==10.3.0
Expand Down

0 comments on commit eef34a1

Please sign in to comment.