fix: correct TTS voice parameter name in asset_based pipeline
asset_based.py was passing voice_id= to TTSService but the parameter is named voice=. The wrong kwarg was silently swallowed by **params, so user voice configuration was always ignored and the default voice was used instead.
This commit is contained in:
1 parent
fe0c3cbbca
commit
d3b27d7f68
1 file changed
+1
-1
@@ -582,7 +582,7 @@ class AssetBasedPipeline(LinearVideoPipeline):
|
||||
await self.core.tts(
|
||||
text=narration_text,
|
||||
output_path=str(audio_path),
|
||||
voice_id=config.voice_id,
|
||||
voice=config.voice_id,
|
||||
speed=config.tts_speed
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user