Skip to content

Vdosumry converts speech from videos into text and then summarizes the text.

License

Notifications You must be signed in to change notification settings

chuehnone/vdosumry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vdosumry

README in English 繁體中文文件

Introduction

Vdosumry converts speech from videos into text and then summarizes the text.

Prerequisites

  • ollama: Please install ollama before installing Vdosumry
  • poetry: Please install poetry before installing Vdosumry

Installation

Ensure your Python version is 3.11 or above, then install the dependencies using the following command:

poetry install

Usage

To generate a summary of a video, run the following command:

poetry run vdosumry https://www.youtube.com/watch\?v={youtube_youtube_id}

or

poetry run vdosumry "https://www.youtube.com/watch?v={youtube_youtube_id}"

Command Options

  • --output : Directory to save the summary (default: ./output)
  • --model-size : Size of the Whisper model (default: base)
  • --ollama-model : Ollama model to use for summarization (default: llama3.2)
  • --language : summarization language (default: zh-TW)
poetry run vdosumry "https://www.youtube.com/watch?v={youtube_youtube_id}" --output="./output" \
--model-size="base" --ollama-model="llama3.2" --language="zh-TW"

Contribution

Issues and pull requests are welcome. Please ensure your code adheres to the project's coding standards.

Linter

Use Ruff to lint your code before opening a pull request.

poetry run ruff format

License

This project is licensed under the MIT License.

About

Vdosumry converts speech from videos into text and then summarizes the text.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages