Skip to content

Commit

Permalink
fix windows path to string bug (#70)
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Kali <89668997+mkali-personal@users.noreply.github.com>
  • Loading branch information
mkali-weizmann and mkali-personal committed Sep 19, 2023
1 parent a3d0107 commit 47e0c5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manim_voiceover/services/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ def _wrap_generate_from_text(self, text: str, path: str = None, **kwargs) -> dic
adjusted_path = split_path[0] + "_adjusted" + split_path[1]

adjust_speed(
Path(self.cache_dir) / dict_["original_audio"],
Path(self.cache_dir) / adjusted_path,
str(Path(self.cache_dir) / dict_["original_audio"]),
str(Path(self.cache_dir) / adjusted_path),
self.global_speed,
)
dict_["final_audio"] = adjusted_path
Expand Down

0 comments on commit 47e0c5c

Please sign in to comment.