Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 (8 months ago)
- Default Branch: main
- Last Pushed: 2024-06-20T02:32:00.000Z (7 months ago)
- Last Synced: 2024-09-21T12:50:52.536Z (4 months ago)
- Topics: distil-whisper, distil-whisper-large-v3, llm-inference, llms, mixtral-8x7b, pypi-package, togetherai
- Language: Python
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ytsum
![PyPI](https://img.shields.io/pypi/v/ytsum?label=pypi%20package)
![PyPI - Downloads](https://img.shields.io/pypi/dm/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/