From 1a4f28c0edd13842f6cbf45636e4279818e4eed1 Mon Sep 17 00:00:00 2001 From: dan Date: Wed, 4 Sep 2024 16:25:21 +0200 Subject: [PATCH] le grand remake fix again --- README.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 0e8b820..d2ca116 100644 --- a/README.md +++ b/README.md @@ -95,11 +95,13 @@ Possiamo anche ottenere la trascrizione in formato testo sottotitolo (SRT) con t Opzionale: Possiamo mettere tutto nello script sboby.sh in ~/bin/ che renderemo eseguibile (`chmod 755 ~/bin/sboby.sh`): -> #!/bin/sh -> ~/sboby/bin/vosk-transcriber -i ${1+"$@"} --model ~/sboby/vosk/vosk-model-it-0.22/ -o ${1+"$@"}.txt ; -> sleep 5s ; -> ~/sboby/bin/vosk-transcriber -i ${1+"$@"} --model ~/sboby/vosk/vosk-model-it-0.22/ -t srt -o ${1+"$@"}.srt -> echo 'bye bye sboby' + + #!/bin/sh + ~/sboby/bin/vosk-transcriber -i ${1+"$@"} --model ~/sboby/vosk/vosk-model-it-0.22/ -o ${1+"$@"}.txt ; + sleep 5s ; + ~/sboby/bin/vosk-transcriber -i ${1+"$@"} --model ~/sboby/vosk/vosk-model-it-0.22/ -t srt -o ${1+"$@"}.srt + echo 'bye bye sboby' + In modo da ottenere la trascrizione tramite il semplice comando: sboby.sh [FILE]..