yinde commited on
Commit
4e63f24
·
verified ·
1 Parent(s): a0f484b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ import gradio as gr
5
  from openai import OpenAI
6
 
7
  # 1. Frame Extraction
8
- def extract_frames(video_path: str, num_frames: int = 1, max_resolution: int = 720):
9
  frames_base64 = []
10
  cap = cv2.VideoCapture(video_path)
11
 
 
5
  from openai import OpenAI
6
 
7
  # 1. Frame Extraction
8
+ def extract_frames(video_path: str, num_frames: int = 30, max_resolution: int = 720):
9
  frames_base64 = []
10
  cap = cv2.VideoCapture(video_path)
11