Skip to content

Commit

Permalink
fix: no voice when use cache (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxwin-z authored Sep 29, 2024
1 parent c997b5d commit e2d5788
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions manim_voiceover/voiceover_scene.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ def add_voiceover_text(

dict_ = self.speech_service._wrap_generate_from_text(text, **kwargs)
tracker = VoiceoverTracker(self, dict_, self.speech_service.cache_dir)
self.renderer.skip_animations = self.renderer._original_skipping_status
self.add_sound(str(Path(self.speech_service.cache_dir) / dict_["final_audio"]))
self.current_tracker = tracker

Expand Down

0 comments on commit e2d5788

Please sign in to comment.