Commit Graph

9 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
Charlie Holtz dc3d70d834
Update README.md 2023-11-15 21:46:37 -05:00
Charlie Holtz 7bcbcca0e8
Update README.md 2023-11-15 21:45:42 -05:00
Charlie Holtz f82b760931
Update README.md 2023-11-15 21:23:50 -05:00
Charlie Holtz f1e2b53240
Update README.md 2023-11-15 17:45:18 -05:00
Charlie Holtz 05344064f4
Update README.md 2023-11-15 17:45:03 -05:00
Charlie Holtz 4bab10462a
Update README.md 2023-11-15 14:42:50 -05:00
Charlie Holtz feeb0cfbd2
Update README.md 2023-11-15 10:49:20 -05:00
Charlie Holtz b38ee783fe first commit 2023-11-14 15:10:19 -05:00