|
|
|
@ -2,10 +2,10 @@
|
|
|
|
# Script that uses `whispercpp` to tranascribe audio and video files automatically and outputs the results in the same directory
|
|
|
|
# Script that uses `whispercpp` to tranascribe audio and video files automatically and outputs the results in the same directory
|
|
|
|
|
|
|
|
|
|
|
|
# Configuración
|
|
|
|
# Configuración
|
|
|
|
|
|
|
|
REPO_DIR="/Users/borjarobert/code/whisper.cpp"
|
|
|
|
WHISPER_CLI="$REPO_DIR/build/bin/whisper-cli"
|
|
|
|
WHISPER_CLI="$REPO_DIR/build/bin/whisper-cli"
|
|
|
|
TEMP_DIR=$(mktemp -d)
|
|
|
|
TEMP_DIR=$(mktemp -d)
|
|
|
|
LANGUAGE="en"
|
|
|
|
LANGUAGE="auto"
|
|
|
|
OUTPUT_FORMAT="txt"
|
|
|
|
OUTPUT_FORMAT="txt"
|
|
|
|
|
|
|
|
|
|
|
|
# Rutas de los modelos
|
|
|
|
# Rutas de los modelos
|
|
|
|
|