Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jordimas committed Sep 15, 2024
1 parent f7feae8 commit 1d6702f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions r.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 1d6702f

Please sign in to comment.