From 0aa6c5d560d8bded586e660b3b0198884e48f255 Mon Sep 17 00:00:00 2001 From: Jordi Mas Date: Mon, 6 Jan 2025 21:09:45 +0100 Subject: [PATCH] Fix --- sc.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sc.sh b/sc.sh index 19a06f9..9156cf9 100755 --- a/sc.sh +++ b/sc.sh @@ -6,7 +6,7 @@ branch_name=$(git rev-parse --abbrev-ref HEAD) declare -a target_languages=("cat") # Catalan (cat) and French (fra) declare -a inputs=($(find ../dubbing/od-videos/ -type f -name "*.mp4")) -declare -a inputs=("videos/jobinterview.mp4" ) +declare -a inputs=("videos/jordi.mp4" ) for input_file in "${inputs[@]}"; do output_directory="output/$(basename "${input_file%.*}").${branch_name}/" @@ -21,7 +21,8 @@ for input_file in "${inputs[@]}"; do --target_language="$language" \ --translator="apertium" \ --apertium_server=http://localhost:8500/ \ - --tts=openai \ + --tts=api \ + --tts_api_server=http://localhost:8100/ \ --target_language_region="central" \ --device=cpu \ --dubbed_subtitles\