mirror of
https://github.com/Paillat-dev/viralfactory.git
synced 2026-01-02 01:06:19 +00:00
🐛 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.
This commit is contained in:
@@ -75,11 +75,8 @@ class GenerateUI:
|
||||
inputs.append(engine_dropdown)
|
||||
engine_rows = []
|
||||
for i, engine in enumerate(engines):
|
||||
with gr.Group(visible=(i == 0)) as engine_row:
|
||||
gr.Markdown(
|
||||
value=f"## {engine.name}",
|
||||
render=False,
|
||||
)
|
||||
with gr.Row(visible=(i == 0)) as engine_row:
|
||||
gr.Markdown(value=f"## {engine.name}")
|
||||
engine_rows.append(engine_row)
|
||||
options = engine.get_options()
|
||||
inputs.extend(options)
|
||||
|
||||
Reference in New Issue
Block a user