Skip to content

Commit

Permalink
fix windows path to string bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mkali-personal committed Sep 15, 2023
1 parent a3d0107 commit d5a6cbc
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 d5a6cbc

Please sign in to comment.