Skip to content

Commit

Permalink
Enabled transcription for bookmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
osolmaz committed Feb 25, 2024
1 parent f7c7b57 commit 9f29b7f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion manim_voiceover/services/elevenlabs.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ def __init__(
voice_id: Optional[str] = None,
model: str = "eleven_monolingual_v1",
voice_settings: Optional[Union[VoiceSettings, dict]] = None,
transcription_model: str = "base",
**kwargs,
):
"""
Expand Down Expand Up @@ -132,7 +133,7 @@ def __init__(
self.voice = Voice(
voice_id=self.voice.voice_id, settings=self.voice_settings
)
SpeechService.__init__(self, **kwargs)
SpeechService.__init__(self, transcription_model=transcription_model, **kwargs)

def generate_from_text(
self,
Expand Down

0 comments on commit 9f29b7f

Please sign in to comment.