Commit Graph

161 Commits

Author SHA1 Message Date
3cf9e46d53 Add dotenv package and load environment variables 2024-02-15 17:48:32 +01:00
e020157cdd Add python-dotenv package to requirements.txt 2024-02-15 17:42:45 +01:00
02c168f349 ⬆️ chore(requirements.txt): add anthropic library version 0.16.0
The anthropic library version 0.16.0 is added to the requirements.txt file. This library is necessary for a new feature that requires anthropic functionality.
2024-02-15 14:12:26 +01:00
5be7937ffa 🚀 Maaany things 2024-02-15 14:11:16 +01:00
57bcf0af8e fix(GenerationContext.py): fix typo in variable name powerfulllmengine to powerfulllmengine for better readability
feat(GenerationContext.py): add setup_dir method to create a directory for output files with a timestamp
feat(GenerationContext.py): call setup_dir method before generating script and synthesizing audio to ensure output directory exists
feat(prompts/fix_captions.yaml): add a new prompt file to provide instructions for fixing captions
fix(BaseTTSEngine.py): add force_duration method to adjust audio clip duration if it exceeds a specified duration
feat(CoquiTTSEngine.py): add options for forcing duration and specifying duration in the UI
feat(utils/prompting.py): add get_prompt function to load prompt files from a specified location
fix(gradio_ui.py): set equal_height=True for engine_rows to ensure consistent height for engine options
2024-02-15 12:27:13 +01:00
9f88e6d069 feat(GenerationContext.py): add new file GenerationContext.py to handle the context of generation engines
feat(OpenaiLLMEngine.py): add orjson library for JSON serialization and deserialization, and implement the generate method to make API call to OpenAI chat completions endpoint

feat(__init__.py): import OpenaiLLMEngine in LLMEngine package

feat(BaseScriptEngine.py): add time_script method to the BaseScriptEngine class

feat(CustomScriptEngine.py): add new file CustomScriptEngine.py to handle custom script generation, implement generate method to return the provided script, and add get_options method to provide a textbox for the prompt input

feat(__init__.py): import CustomScriptEngine in ScriptEngine package

feat(__init__.py): import LLMEngine package and add OpenaiLLMEngine to the ENGINES dictionary

refactor(gradio_ui.py): change equal_height attribute of Row to False to allow different heights for input blocks
2024-02-15 11:23:36 +01:00
0594458865 🚀 2024-02-14 17:49:51 +01:00
79d81b96b1 E 2024-02-13 14:29:49 +01:00
e8121e3e8d Some stuff 2024-02-13 14:15:27 +01:00
3567b9dc75 Create LICENSE 2024-02-12 16:09:11 +01:00
935a4ad481 Initial commit 2024-02-12 16:07:40 +01:00