yasserrmd commited on
Commit
f5586b0
1 Parent(s): fd362dd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ def categorize_activity(detected_objects):
32
 
33
  # Function to process the video, detect objects, and generate a categorized journal with images
34
  @spaces.GPU
35
- def generate_journal_with_images(video_path):
36
  cap = cv2.VideoCapture(video_path)
37
  journal_entries = {}
38
  saved_images = []
 
32
 
33
  # Function to process the video, detect objects, and generate a categorized journal with images
34
  @spaces.GPU
35
+ def generate_journal_with_images(video_path, frame_interval=30):
36
  cap = cv2.VideoCapture(video_path)
37
  journal_entries = {}
38
  saved_images = []