Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jordimas committed Jan 6, 2025
1 parent 7856481 commit 0aa6c5d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}/"
Expand All @@ -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\
Expand Down

0 comments on commit 0aa6c5d

Please sign in to comment.