From 58a8e2b0587210dd6c091866d0fecb9a44c8226e Mon Sep 17 00:00:00 2001 From: Markus Schmidt Date: Fri, 8 Oct 2021 15:26:30 +0200 Subject: [PATCH] Added: Description vosk install --- modules/transcription_tools/__init__.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/modules/transcription_tools/__init__.py b/modules/transcription_tools/__init__.py index 34cbf8b..cd08105 100644 --- a/modules/transcription_tools/__init__.py +++ b/modules/transcription_tools/__init__.py @@ -1,3 +1,19 @@ +# REQUIREMENTS +# +# module srt +# module vosk +# language model +# +# INSTALL +# +# cd web2py/applications/transcription +# pip3 install -t modules srt +# pip3 install -t modules vosk +# cd private +# wget https://alphacephei.com/vosk/models/vosk-model-de-0.21.zip +# unzip vosk-model-de-0.21.zip + + from vosk import Model, KaldiRecognizer, SetLogLevel import sys import os