Skip to content

Commit

Permalink
Merge pull request #3 from virtUOS/defaults
Browse files Browse the repository at this point in the history
Configuration defaults
  • Loading branch information
dennis531 authored Oct 8, 2024
2 parents ae66133 + f27dbeb commit ad14c17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
)

API_URL = os.getenv("API_URL")
FFMPEG_PATH = os.getenv("FFMPEG_PATH")
TEMP_PATH = os.getenv("TEMP_PATH")
FFMPEG_PATH = os.getenv("FFMPEG_PATH") or "ffmpeg"
TEMP_PATH = os.getenv("TEMP_PATH") or "/tmp/transcription-whisper"

base_temp_dir = os.path.expanduser(TEMP_PATH)
os.makedirs(base_temp_dir, exist_ok=True)
Expand Down

0 comments on commit ad14c17

Please sign in to comment.