Commit Graph

19 Commits

Author SHA1 Message Date
9f91132a0a Formatting 2024-02-23 13:12:48 +01:00
d7fa8945d1 Formatting and stuff 2024-02-23 11:07:50 +01:00
2a102c62e3 Formatting 2024-02-23 09:56:54 +01:00
32b6b5c42e Formatting & improving imports 2024-02-23 09:50:43 +01:00
b8d7d87750 Remove ElevenLabsTTSEngine import 2024-02-22 15:15:01 +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
3ca3732102 Formatting 2024-02-20 14:54:37 +01:00
280df1dd67 Formatting 2024-02-20 14:47:54 +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
67237a5ecf Fix import, fix option indices in init, formatting 2024-02-15 17:52:19 +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
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