LPX55 commited on
Commit
4d6b5e2
·
verified ·
1 Parent(s): 773b9ca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -7
app.py CHANGED
@@ -101,13 +101,18 @@ def zip_images(images):
101
 
102
  with gr.Blocks() as demo:
103
  with gr.Row():
104
- image_input = gr.Image(label="Input Image", type="pil")
105
- grid_cols_input = gr.Slider(1, 10, value=2, step=1, label="Grid Columns")
106
- grid_rows_input = gr.Slider(1, 10, value=2, step=1, label="Grid Rows")
107
- with gr.Row():
108
- fps_input = gr.Slider(1, 30, value=10, step=1, label="FPS (Frames per Second)")
109
- ping_pong_toggle = gr.Checkbox(label="Ping-Pong Effect")
110
- interpolation_factor_input = gr.Slider(1, 10, value=2, step=1, label="Interpolation Factor")
 
 
 
 
 
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")