Commit Graph

40 Commits

Author SHA1 Message Date
0189d26f61 Refactor get_metadata method signature in BaseMetadataEngine.py 2024-02-22 15:15:17 +01:00
b8d7d87750 Remove ElevenLabsTTSEngine import 2024-02-22 15:15:01 +01:00
d08a2c29ef Formatting 2024-02-22 15:14:36 +01:00
abef1dcb6b Add GoogleAssetsEngine class to search for images using the Google Images API 2024-02-22 15:13:52 +01:00
f83a18fecb Add UploadEngine and its dependencies 2024-02-22 15:13:45 +01:00
7b0c4e409c Update ShortsMetadata.yaml with correct placement of hashtags in description 2024-02-21 09:15:08 +01:00
287b1f5076 Delete fix_captions.yaml file 2024-02-21 09:14:10 +01:00
bd00a49063 🐛 fix(GenerationContext.py): fix indentation issue in process() method
 feat(GenerationContext.py): add support for z-index of moviepy clips to improve video rendering
The indentation issue in the process() method has been fixed. The z-index of moviepy clips has been added to improve the rendering of the video. This allows the clips to be rendered in different layers based on their index, resulting in a more visually appealing video.
2024-02-21 09:06:36 +01:00
cced96d792 Formatting 2024-02-20 16:23:15 +01:00
f11f493e46 Add MetadataEngine and ShortsMetadataEngine classes 2024-02-20 16:22:28 +01:00
7322abf1c3 Add BackgroundEngine to engines. 2024-02-20 14:55:58 +01:00
e6d58d2920 Refactor DallEAssetsEngine.py to improve image generation 2024-02-20 14:55:25 +01:00
6338f016d2 Add background engine classes 2024-02-20 14:54:49 +01:00
3ca3732102 Formatting 2024-02-20 14:54:37 +01:00
280df1dd67 Formatting 2024-02-20 14:47:54 +01:00
921470cc5d Add stroke color and stroke width to captioning engine 2024-02-18 22:58:39 +01:00
329d542133 Add SettingsEngine class for handling base settings 2024-02-18 22:50:11 +01:00
59ba7b8bf6 Add SettingsEngine module 2024-02-18 22:50:01 +01:00
56ae10301a Add image resizing in DallEAssetsEngine 2024-02-18 22:49:56 +01:00
3a4e032799 Add SettingsEngine to ENGINES dictionary 2024-02-18 22:49:45 +01:00
6c48e19af0 Add AssetsEngine and related files 2024-02-18 00:56:49 +01:00
e3229518d4 🐛 fix(GenerationContext.py): fix import statements and add support for captioning engine
 feat(GenerationContext.py): add support for captioning engine in the GenerationContext class
The import statement for the `moviepy.editor` module is changed to `moviepy.editor as mp` to improve code readability. Additionally, the `gradio` module is imported as `gr` to improve code readability. The `GenerationContext` class now includes a `captioningengine` parameter and initializes a `captioningengine` attribute. The `setup_dir` method is modified to include a call to create a directory for the output files. The `get_file_path` method is modified to return the file path based on the output directory. The `process` method is modified to include additional steps for captioning. The `timed_script` attribute is added to store the result of the `ttsengine.synthesize` method. The `captioningengine` is used to generate captions and store them in the `captions` attribute. The final video is rendered using the `moviepy` library and saved as "final.mp4" in the output directory.
2024-02-17 18:47:30 +01:00
bb84d673f3 Update results variable to access words from segments in BaseTTSEngine.py 2024-02-15 18:13:48 +01:00
4d8556c80a Fix typo in CoquiTTSEngine.py 2024-02-15 17:57:49 +01:00
45a48cfa49 Formatting 2024-02-15 17:54:13 +01:00
a32f339981 Implement the actual code 2024-02-15 17:53:59 +01:00
bf03e0a766 Fix a commit error 2024-02-15 17:53:46 +01:00
e8cf4bad50 Formatting 2024-02-15 17:53:27 +01:00
53b627f4ed Add anthropic llm engine 2024-02-15 17:53:18 +01:00
368b7bb375 Formatting and type hinting 2024-02-15 17:53:02 +01:00
dee544a26c Add new engines and fix naming 2024-02-15 17:52:47 +01:00
67237a5ecf Fix import, fix option indices in init, formatting 2024-02-15 17:52:19 +01:00
c57817df85 Add newline at the end of file 2024-02-15 17:50:06 +01:00
a8da179269 Add shower thoughts script template 2024-02-15 17:48:53 +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