Update app.py
Browse files
app.py
CHANGED
@@ -51,7 +51,7 @@ def process_image(image, grid_cols_input, grid_rows_input):
|
|
51 |
|
52 |
with gr.Blocks() as demo:
|
53 |
with gr.Row():
|
54 |
-
image_input = gr.Image(label="Input Image")
|
55 |
grid_cols_input = gr.Slider(1, 10, value=2, step=1, label="Grid Cols")
|
56 |
grid_rows_input = gr.Slider(1, 10, value=2, step=1, label="Grid Rows")
|
57 |
zip_output = gr.File(label="Output Zip File")
|
|
|
51 |
|
52 |
with gr.Blocks() as demo:
|
53 |
with gr.Row():
|
54 |
+
image_input = gr.Image(label="Input Image", type="filepath")
|
55 |
grid_cols_input = gr.Slider(1, 10, value=2, step=1, label="Grid Cols")
|
56 |
grid_rows_input = gr.Slider(1, 10, value=2, step=1, label="Grid Rows")
|
57 |
zip_output = gr.File(label="Output Zip File")
|