Commit Graph

21 Commits

Author SHA1 Message Date
ccfad9db06 Fix ui 2024-02-23 13:33:50 +01:00
ca520296d4 Fix presets logic 2024-02-23 12:27:04 +01:00
d7fa8945d1 Formatting and stuff 2024-02-23 11:07:50 +01:00
8951837d04 🔧 chore(ui): refactor imports and remove unused code in __init__.py and gradio_ui.py
🔥 chore(ui): remove unused launcher.py file
The imports in __init__.py and gradio_ui.py have been refactored to remove the unused import statements. The launcher.py file has been removed as it is no longer needed. This improves code cleanliness and reduces unnecessary clutter.
2024-02-23 10:45:59 +01:00
2a102c62e3 Formatting 2024-02-23 09:56:54 +01:00
32b6b5c42e Formatting & improving imports 2024-02-23 09:50:43 +01:00
aa5c03b17e Add presets feature 2024-02-23 09:37:00 +01:00
0a2e4774d0 Add presets functionality to GenerateUI class 2024-02-22 18:02:52 +01:00
ac835a6e81 Change engine_row from gr.Row to gr.Column 2024-02-22 15:13:08 +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
ce128e400a Add Markdown headers to engine names in UI 2024-02-20 16:22:47 +01:00
f6e4fa6bd3 Refactor UI code to add settings interface 2024-02-20 14:54:25 +01:00
fbf7a6578c Add visibility option for engine dropdown 2024-02-18 22:50:20 +01:00
6c48e19af0 Add AssetsEngine and related files 2024-02-18 00:56:49 +01:00
eedbc99121 Update gradio_ui.py with engine selection and multiselect support 2024-02-16 20:21:22 +01:00
1d32bc38d0 Update UI tab names in gradio_ui.py 2024-02-16 13:57:36 +01:00
3338077c18 Add BaseEngine and GenerationContext classes to gradio_ui.py 2024-02-15 17:49:06 +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