Skip to content

A self-hosted Python speech-to-text LINE bot powered by OpenAI's Whisper.

Notifications You must be signed in to change notification settings

StarAtty/line-speech-to-text

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

LINE Speech to Text

This is a minimal self-hosted LINE bot using OpenAI's Whisper to transcribe audio messages to text. It runs on Flask and use Gunicorn as WSGI server. Change initial_prompt to fit your need (language, puctuation, names, etc.)

Setup

pip install flask openai-whisper gunicorn

Grab your Channel secret and Channel access token, than replace the placeholders in line_stt.py.

Run

gunicorn wsgi:app

About

A self-hosted Python speech-to-text LINE bot powered by OpenAI's Whisper.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages