Skip to content

ronykax/speechie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

speechie

speech to text thing that runs on my home server.

setup

  • create a .env file (OpenAI compatible API required):
    LLM_API_KEY=abc123
    LLM_BASE_URL=https://api.example.com/v1/chat/completions
    LLM_MODEL=llama-3.1-8b-instant
    
  • create a dictionary.txt file (words to recognize, one per line)
    Rony
    Parakeet
    Doraemon
    
  • install dependencies: uv sync
  • start the server:
    uv run uvicorn main:app --host 0.0.0.0 --port 8000 --env-file .env

usage

curl -X POST "http://localhost:8000/transcribe" \
    -H "Content-Type: multipart/form-data" \
    -F "file=@/path/to/audio.wav"

About

speech to text thing

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages