Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hr/download #132

Merged
merged 14 commits into from
Jul 11, 2024
Merged

Hr/download #132

merged 14 commits into from
Jul 11, 2024

Conversation

HRashidi
Copy link
Contributor

Changes: Checking video length before downloading it

We can do other stuff like adding video's duration as part of metadata class.
Checking video duration inside the video_download (It requires to pass the max_length which currently a const for chat_with_video to the function) so it can raise error based on it)

aana/integrations/external/yt_dlp.py Show resolved Hide resolved
aana/integrations/external/yt_dlp.py Show resolved Hide resolved
aana/core/models/video.py Outdated Show resolved Hide resolved
aana/projects/chat_with_video/endpoints.py Outdated Show resolved Hide resolved
@HRashidi HRashidi requested a review from movchan74 July 11, 2024 14:11
@HRashidi HRashidi merged commit 1b66d32 into main Jul 11, 2024
6 checks passed
@HRashidi HRashidi deleted the hr/download branch July 11, 2024 14:33
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.

3 participants