Spaces:
Running
on
Zero
Running
on
Zero
gokaygokay
commited on
Commit
·
6681bbb
1
Parent(s):
9f5c8ff
pixelize
Browse files- pixelize_processor.py +2 -2
pixelize_processor.py
CHANGED
@@ -56,7 +56,7 @@ def create_pixelize_tab():
|
|
56 |
|
57 |
with gr.Row():
|
58 |
with gr.Column():
|
59 |
-
input_image = gr.Image(label="Input Image", type="pil", height=
|
60 |
|
61 |
downscale_mode = gr.Dropdown(
|
62 |
choices=["contrast", "bicubic", "nearest", "center", "k-centroid"],
|
@@ -101,7 +101,7 @@ def create_pixelize_tab():
|
|
101 |
process_btn = gr.Button("Process Image")
|
102 |
|
103 |
with gr.Column():
|
104 |
-
output_image = gr.Image(label="Processed Image", height=
|
105 |
|
106 |
# Set up processing event
|
107 |
process_btn.click(
|
|
|
56 |
|
57 |
with gr.Row():
|
58 |
with gr.Column():
|
59 |
+
input_image = gr.Image(label="Input Image", type="pil", height=256)
|
60 |
|
61 |
downscale_mode = gr.Dropdown(
|
62 |
choices=["contrast", "bicubic", "nearest", "center", "k-centroid"],
|
|
|
101 |
process_btn = gr.Button("Process Image")
|
102 |
|
103 |
with gr.Column():
|
104 |
+
output_image = gr.Image(label="Processed Image", height=256)
|
105 |
|
106 |
# Set up processing event
|
107 |
process_btn.click(
|