https://github.com/siris2314/ytsum
Summarize YT videos in one go using Mixtral
https://github.com/siris2314/ytsum
distil-whisper distil-whisper-large-v3 llm-inference llms mixtral-8x7b pypi-package togetherai
Last synced: 3 months ago
JSON representation
Summarize YT videos in one go using Mixtral
- Host: GitHub
- URL: https://github.com/siris2314/ytsum
- Owner: Siris2314
- Created: 2024-06-07T20:24:07.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-01-08T19:25:52.000Z (4 months ago)
- Last Synced: 2025-02-11T16:02:59.535Z (3 months ago)
- Topics: distil-whisper, distil-whisper-large-v3, llm-inference, llms, mixtral-8x7b, pypi-package, togetherai
- Language: Python
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ytsum

## Summarize YouTube videos instantly with the power of distil-whisper and Mixtral-8x7B
ytsum is a Python package that allows you to summarize YouTube videos by leveraging the power of distil-whisper for transcription and Mixtral-8x7B for generating detailed answers based on the video content.
## Setup
To use ytsum, you need to get an API key from Together AI.
You can sign up and obtain your API key here: [Together AI](https://www.together.ai/).
## Installation
```bash
pip install ytsum
```
```python
from ytsum import answer_youtube_question, set_together_api_key# Set your Together AI API key
set_together_api_key("your_together_ai_api_key")# Example usage
youtube_url = "https://www.youtube.com/watch?v=example"
query = "What is the main topic of this video?"result = answer_youtube_question(youtube_url, query)
print(result)
```
## Documentationhttps://ytsum-docs.netlify.app/