Update app.py
Browse files
app.py
CHANGED
@@ -246,7 +246,7 @@ with block:
|
|
246 |
with gr.Row():
|
247 |
with gr.Column():
|
248 |
# input_image = gr.Image(source='upload', type="numpy")
|
249 |
-
|
250 |
low_threshold = gr.Slider(label="low_threshold", minimum=1, maximum=255, value=100, step=1)
|
251 |
high_threshold = gr.Slider(label="high_threshold", minimum=1, maximum=255, value=200, step=1)
|
252 |
resolution = gr.Slider(label="resolution", minimum=256, maximum=1024, value=512, step=64)
|
|
|
246 |
with gr.Row():
|
247 |
with gr.Column():
|
248 |
# input_image = gr.Image(source='upload', type="numpy")
|
249 |
+
input_image = gr.Image(label="Input Image", type="numpy", height=512)
|
250 |
low_threshold = gr.Slider(label="low_threshold", minimum=1, maximum=255, value=100, step=1)
|
251 |
high_threshold = gr.Slider(label="high_threshold", minimum=1, maximum=255, value=200, step=1)
|
252 |
resolution = gr.Slider(label="resolution", minimum=256, maximum=1024, value=512, step=64)
|