Skip to content

scripty-bot/stt-service

Repository files navigation

stt-service

The Scripty STT service is a simple server that handles remote audio transcoding.

Building

This program is written in Rust. You will need to install rust to build it. You will also need the libstt.tflite.(os).zip file from coqui-ai/STT. You should put the contents of this zip in /usr/local/lib.

Then, you can build with cargo build --release.

Running

After you've built stt-service, you need some models. These can be had easily at coqui.ai/models. You need the model.tflite and the .scorer file. For each language, you need to make a subfolder with the two letter language code (e.g. en, fr, de). Then put the models in them, and run scripty_stt_service /path/to/models/.

Voila! You've got a working stt-service instance!