From 1d6702fb613b4f274b79b22762e5e8b3390133b2 Mon Sep 17 00:00:00 2001 From: Jordi Mas Date: Sun, 15 Sep 2024 16:22:57 +0200 Subject: [PATCH] Fix --- r.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/r.sh b/r.sh index 89a0efc..2a000c9 100755 --- a/r.sh +++ b/r.sh @@ -4,8 +4,8 @@ rm -r -f output/ declare -a inputs=("videos/cameratips.mp4" "videos/jordi.mp4" "videos/jobinterview.mp4" "videos/jordimaskudosallhands.mp4" "videos/michael.mp4" "videos/simplicty.mp4") declare -a target_languages=("cat") # Catalan (cat) and French (fra) -declare -a tts_list=("coqui") -declare -a inputs=("videos/jordimaskudosallhands.mp4") +declare -a tts_list=("mms" "coqui") +declare -a inputs=("videos/jordimaskudosallhands.mp4" "videos/jobinterview.mp4") for tts in "${tts_list[@]}"; do for input_file in "${inputs[@]}"; do @@ -20,8 +20,7 @@ for tts in "${tts_list[@]}"; do --source_language=eng \ --target_language="$language" \ --tts="$tts" \ - --device=cpu \ - --cpu_threads=8 + --device=cpu done done done