Update app.py
Browse files
app.py
CHANGED
@@ -101,13 +101,18 @@ def zip_images(images):
|
|
101 |
|
102 |
with gr.Blocks() as demo:
|
103 |
with gr.Row():
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
|
|
|
|
|
|
|
|
|
|
111 |
|
112 |
with gr.Row():
|
113 |
zip_button = gr.Button("Create Zip File")
|
|
|
101 |
|
102 |
with gr.Blocks() as demo:
|
103 |
with gr.Row():
|
104 |
+
with gr.Column():
|
105 |
+
|
106 |
+
image_input = gr.Image(label="Input Grid Image", type="pil")
|
107 |
+
|
108 |
+
with gr.Column():
|
109 |
+
with gr.Row():
|
110 |
+
grid_cols_input = gr.Slider(1, 10, value=2, step=1, label="Grid Columns")
|
111 |
+
grid_rows_input = gr.Slider(1, 10, value=2, step=1, label="Grid Rows")
|
112 |
+
with gr.Row():
|
113 |
+
fps_input = gr.Slider(1, 30, value=10, step=1, label="FPS (Frames per Second)")
|
114 |
+
ping_pong_toggle = gr.Checkbox(label="Ping-Pong Effect")
|
115 |
+
interpolation_factor_input = gr.Slider(1, 10, value=2, step=1, label="Interpolation Factor")
|
116 |
|
117 |
with gr.Row():
|
118 |
zip_button = gr.Button("Create Zip File")
|