Reduce max_frames to 20\
Browse files205 unmodified lines206207208209209210211212205 unmodified linesasync def infer( video: UploadFile = File(...), frame_rate: int = 5, max_frames: int = 50, max_frames: int = 20,) -> dict: # Basic validation of uploaded file if video.content_type is None or not video.content_type.startswith("video/"):app.py+1-1