Commit Graph

7 Commits

Author SHA1 Message Date
google-labs-jules[bot] 326757f4d2 Refactor: Update dependencies, improve error handling, and enhance configuration.
This commit brings several improvements to the application:

- Updates all Python dependencies in requirements.txt to their latest versions.
- Enhances file handling in capture.py by writing to a temporary file before renaming, preventing partial reads.
- Strengthens error handling for API calls (OpenAI, ElevenLabs) and file operations in both capture.py and narrator.py.
- Makes the ElevenLabs Voice ID configurable via an ELEVEN_VOICE_ID environment variable in narrator.py, with a sensible default.
- Aligns the narrator's persona in narrator.py with a "David Attenborough" style by updating the system prompt.
- Updates the README.md to remove outdated information, clarify API key usage, and include new configuration options.
- Confirms that the current audio saving mechanism is suitable for archival/logging.
- Upgrades the OpenAI model to gpt-4-turbo in narrator.py.
- Reduces console noise by making the "Say cheese!" message in capture.py print only once.

I did not add comprehensive docstrings and comments in this pass.
2025-05-23 21:17:49 +00:00
Matt Mazur f3c4337fc2 Create frames directory if it doesn't exist 2023-11-15 13:54:16 -05:00
Matt Mazur c75f298353 Revert "Create frames folder if it doesn't exist"
This reverts commit 61e458e95b.
2023-11-15 13:53:39 -05:00
Matt Mazur 61e458e95b Create frames folder if it doesn't exist 2023-11-15 13:46:10 -05:00
Charlie Holtz fd52ba8bcc cleanup 2023-11-07 12:41:34 -05:00
Charlie Holtz 1dd40a7499 updates to quality 2023-11-07 10:50:50 -05:00
Charlie Holtz 091f066859 first commit 2023-11-07 10:27:35 -05:00