Skip to content

Conversation

@dddst123
Copy link

Fix code in Inference demo: load_video method signature and parameter type

Problem: In the demo code for inference provided in the document, the load_video function does not require a self parameter; the max_frames_num parameter should seemingly be of type int, but the string type defined here will result in an error.
docs_fix

Fix:

  • Corrected load_video method signature by removing incorrect 'self' parameter
  • Fixed max_frames_num parameter type from string "64" to integer 64

… function parameter and max_frames_num type

Fix code in Inference demo: load_video method signature and parameter type

- Corrected load_video method signature by removing incorrect 'self' parameter
- Fixed max_frames_num parameter type from string "64" to integer 64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant