Update db logic and behavior in development environment
8e2cadd
zachcommited on
Add database for persisting votes, and functions to write to db, update submit_voting_results function to write results to DB
20cccb6
zachcommited on
Move env var validation util to config, refactor to fix linting errors across project
048c3fc
zachcommited on
Move more business logic out of app.py, simplify state management for options
09be04f
zachcommited on
Improves UI content for clarity
7f21bab
zachcommited on
Simplify UI logic in app.py, add logic for handling empty character description inputs.
ee8b196
zachcommited on
Update file clean up logic to delete audio files older than 30 minuteds when writing new audio file to static/audio directory.
5d6d1ef
zachcommited on
Move business logic out of app.py, refactor code to call hume once specifying 2 generations instead of call Hume twice
ba3994f
zachcommited on
Update application flow to accept a character description and normalize a prompt for claude
5bf19b3
zachcommited on
Refactor tts integration functions to write audio to file and return file path, audio players to play mp3 file written to temp folder, fix audioplayer loading, remove unused imports
0e508c8
zachcommited on
Add formatter (black) and format all code in src directory— using black default formatting configuration
d1ed6b1
zachcommited on
Clean up docstrings across files
5a007ca
zachcommited on
Improve error messages raised in validate_prompt_length util
982a304
zachcommited on
Add additional validation logic for prompt and generated text to prevent calling APIs unless valid and displaying the error for user feedback.
ec0cbf8
zachcommited on
Update theme configuration and clean up app.py
fcb34bb
zachcommited on
Update Hume integration to randmonly pick a voice from a predefined list of top voices