From 07b3d1a62a8a81ca654a00aa0ba318a2b14ad2e3 Mon Sep 17 00:00:00 2001 From: Jacques Date: Thu, 22 Jan 2026 20:15:03 +0100 Subject: [PATCH] fix: voice names labels and backend mapping + async syntax error in ffmpeg service --- client/src/pages/new-reel.tsx | 2 +- ffmpeg-service/main.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/client/src/pages/new-reel.tsx b/client/src/pages/new-reel.tsx index 197c83f..51d0931 100644 --- a/client/src/pages/new-reel.tsx +++ b/client/src/pages/new-reel.tsx @@ -761,7 +761,7 @@ export default function NewReel() { }`} >
Masculine
-
Henri
+
Rémy

diff --git a/ffmpeg-service/main.py b/ffmpeg-service/main.py index c206b83..ada8088 100644 --- a/ffmpeg-service/main.py +++ b/ffmpeg-service/main.py @@ -46,7 +46,7 @@ def clean_text_for_tts(text: str) -> str: return " ".join(text.split()) -def generate_tts_with_subs( +async def generate_tts_with_subs( text: str, voice: str, audio_path: Path, vtt_path: Path ): """Generate TTS audio with subtitles, with retry and fallback voices.""" @@ -226,12 +226,12 @@ async def process_reel(request: ReelRequest, x_api_key: str = Header(None)): # Check for male/female voice map voice = request.tts_voice if voice == "male": - voice = "fr-FR-HenriNeural" + voice = "fr-FR-RemyMultilingualNeural" elif voice == "female": - voice = "fr-FR-VivienneNeural" + voice = "fr-FR-VivienneMultilingualNeural" elif not voice or "Neural" not in voice: # Default if invalid - voice = "fr-FR-VivienneNeural" + voice = "fr-FR-VivienneMultilingualNeural" print(f"🔊 Using voice: {voice}")