Commit Graph

4 Commits

Author SHA1 Message Date
Roshan Venugopal 2ecf20fcfa major changes 2025-05-23 16:55:54 -05:00
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
Roshan Venugopal f0e8421a26 minor changes.
changed the voice narrative. Also added 300 character limits.
2023-11-16 09:26:49 -06:00
Charlie Holtz f2359959dd update gitignore, change judge to narrator 2023-11-15 10:43:29 -05:00