mirror of
https://github.com/artegoser/image-pluser-webui.git
synced 2025-02-23 04:33:14 +03:00
feat: tabs system
This commit is contained in:
parent
5b33b2cd66
commit
ca3d0969bc
6 changed files with 92 additions and 47 deletions
17
tabs/Images to video/app.py
Normal file
17
tabs/Images to video/app.py
Normal file
|
@ -0,0 +1,17 @@
|
|||
import gradio as gr
|
||||
from processing.bulk import images_to_video
|
||||
|
||||
with gr.Blocks() as app:
|
||||
gr.Markdown("Convert images to video. # **WIP, not working**")
|
||||
with gr.Row():
|
||||
with gr.Column():
|
||||
directory = gr.Text(
|
||||
placeholder="A directory with many images of the same size", lines=1, label="Directory")
|
||||
|
||||
fps = gr.Number(label="FPS")
|
||||
submit = gr.Button("Submit")
|
||||
|
||||
submit.click(
|
||||
fn=images_to_video,
|
||||
inputs=[directory, fps],
|
||||
)
|
Loading…
Add table
Reference in a new issue