Commit Graph

25 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
Roshan Venugopal f0e8421a26 minor changes.
changed the voice narrative. Also added 300 character limits.
2023-11-16 09:26:49 -06:00
Charlie Holtz c985bf5a47
Merge pull request #7 from mattm/create-frames-dir
Create frames dir
2023-11-15 21:49:46 -05:00
Charlie Holtz ae1ef2fe61
Merge pull request #11 from Rhjulskov/main
Add empty frames folder to git
2023-11-15 21:49:19 -05:00
Charlie Holtz 5b3dc11102
Merge pull request #2 from andre15silva/patch-1
add missing dependencies to `requirements.txt`
2023-11-15 21:47:14 -05: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
Rasmus Hjulskov 78ae5813e3
Merge branch 'cbh123:main' into main 2023-11-15 23:45:42 +01: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
Rasmus Hjulskov 4bd6c87d5f commit empty frames folder to save pictures 2023-11-15 22:44:40 +00:00
Charlie Holtz 4bab10462a
Update README.md 2023-11-15 14:42:50 -05: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
André Silva cb18607867
add missing dependencies to `requirements.txt` 2023-11-15 18:51:03 +01:00
Charlie Holtz feeb0cfbd2
Update README.md 2023-11-15 10:49:20 -05:00
Charlie Holtz daf38c96ba
Update README.md 2023-11-15 10:45:59 -05:00
Charlie Holtz f2359959dd update gitignore, change judge to narrator 2023-11-15 10:43:29 -05:00
Charlie Holtz b38ee783fe first commit 2023-11-14 15:10:19 -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 899bb437d8 update judge 2023-11-07 10:36:57 -05:00
Charlie Holtz 091f066859 first commit 2023-11-07 10:27:35 -05:00