Commit Graph

18 Commits

Author SHA1 Message Date
166eff8a8a I have no time to review my commit 2024-02-27 14:24:25 +01:00
57e3225456 Add Scientific facts script & open folder button 2024-02-24 23:32:08 +01:00
9f91132a0a Formatting 2024-02-23 13:12:48 +01:00
d7fa8945d1 Formatting and stuff 2024-02-23 11:07:50 +01:00
32b6b5c42e Formatting & improving imports 2024-02-23 09:50:43 +01:00
f83a18fecb Add UploadEngine and its dependencies 2024-02-22 15:13:45 +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
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
dee544a26c Add new engines and fix naming 2024-02-15 17:52:47 +01:00
5be7937ffa 🚀 Maaany things 2024-02-15 14:11:16 +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
e8121e3e8d Some stuff 2024-02-13 14:15:27 +01:00