Spaces:
Build error
Build error
temp
Browse files
app.py
CHANGED
@@ -151,8 +151,8 @@ iface = gr.Interface(
|
|
151 |
inputs=[
|
152 |
gr.inputs.Image(shape=(1024, 1024), type="pil"),
|
153 |
gr.inputs.Image(shape=(1024, 1024), type="pil"),
|
154 |
-
gr.inputs.Slider(minimum=1, maximum=7, step=1, default=
|
155 |
-
gr.inputs.Slider(minimum=1, maximum=255, step=25, default=
|
156 |
outputs="plot",
|
157 |
# outputs=gr.outputs.Image(shape=(1024,2048), type="plot"),
|
158 |
title=title,
|
@@ -160,6 +160,6 @@ iface = gr.Interface(
|
|
160 |
description=description,
|
161 |
article=article,
|
162 |
css=css,
|
163 |
-
examples=[["chateau_1.png", "chateau_2.png",
|
164 |
)
|
165 |
iface.launch(enable_queue=True)
|
|
|
151 |
inputs=[
|
152 |
gr.inputs.Image(shape=(1024, 1024), type="pil"),
|
153 |
gr.inputs.Image(shape=(1024, 1024), type="pil"),
|
154 |
+
gr.inputs.Slider(minimum=1, maximum=7, step=1, default=3, label="Scale"),
|
155 |
+
gr.inputs.Slider(minimum=1, maximum=255, step=25, default=100, label="Binarization Threshold")],
|
156 |
outputs="plot",
|
157 |
# outputs=gr.outputs.Image(shape=(1024,2048), type="plot"),
|
158 |
title=title,
|
|
|
160 |
description=description,
|
161 |
article=article,
|
162 |
css=css,
|
163 |
+
examples=[["chateau_1.png", "chateau_2.png", 3, 100]],
|
164 |
)
|
165 |
iface.launch(enable_queue=True)
|