Skip to content

TartuNLP/kiirkirjutaja4livesubs

 
 

Repository files navigation

About

A modified version of kiirkirjutaja configured to transcribe audio streams from livesubs.ee users.

Original requirements

Since pip install was unable to provide the required dependencies, the simplest solution is to create a new virtual environment, enter a container of the original version's Docker image, locate the virtual environment created within and manually copy the contents of the folder python3.9/bin/site_packages over to the corresponding location of the new environment.

You will also require the models and online_speaker_change_detector, see the original Dockerfile for installation instructions or scavenge them from a working Docker container as well.

(In essence, if the new instance is set up as described by the Dockerfile, just like the Docker container, then it should also work just like the Docker container.)

Additional requirements

FastAPI and websockets as listed in reqs2.txt (install using pip install -r reqs2.txt).

Usage

Activate the new virtual environment and call uvicorn kiirkirjutaja.main2:app --host 0.0.0.0 in the root directory of the project.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.5%
  • Dockerfile 1.5%