Skip to content

Commit

Permalink
[Windows] Critical Error when generation audio #165
Browse files Browse the repository at this point in the history
  • Loading branch information
souzatharsis committed Nov 8, 2024
1 parent 221754b commit 83edfd8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions podcastfy/text_to_speech.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ def _setup_directories(self) -> None:
self.output_directories = self.tts_config.get("output_directories", {})
temp_dir = self.tts_config.get("temp_audio_dir", "data/audio/tmp/").rstrip("/").split("/")
self.temp_audio_dir = os.path.join(*temp_dir)
base_dir = os.path.abspath(os.path.dirname(__file__))
self.temp_audio_dir = os.path.join(base_dir, self.temp_audio_dir)

os.makedirs(self.temp_audio_dir, exist_ok=True)

# Create directories if they don't exist
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "podcastfy"
version = "0.3.4"
version = "0.3.5"
description = "An Open Source alternative to NotebookLM's podcast feature: Transforming Multimodal Content into Captivating Multilingual Audio Conversations with GenAI"
authors = ["Tharsis T. P. Souza"]
license = "Apache-2.0"
Expand Down

0 comments on commit 83edfd8

Please sign in to comment.