Spaces:
Build error
Build error
tmp
Browse files
app.py
CHANGED
|
@@ -173,7 +173,7 @@ iface = gr.Interface(
|
|
| 173 |
inputs=[
|
| 174 |
gr.inputs.Image(shape=(1024, 1024), type="pil", label="First Image"),
|
| 175 |
gr.inputs.Image(shape=(1024, 1024), type="pil", label="Second Image"),
|
| 176 |
-
gr.inputs.Slider(minimum=
|
| 177 |
gr.inputs.Slider(minimum=1, maximum=255, step=25, default=100, label="Binarization Threshold"),
|
| 178 |
gr.inputs.Textbox(lines=1, default="", label="Super-feature IDs to show", optional=True)],
|
| 179 |
outputs=["plot", "plot"],
|
|
@@ -184,6 +184,6 @@ iface = gr.Interface(
|
|
| 184 |
description=description,
|
| 185 |
article=article,
|
| 186 |
css=css,
|
| 187 |
-
examples=[["chateau_1.png", "chateau_2.png",
|
| 188 |
)
|
| 189 |
iface.launch(enable_queue=True)
|
|
|
|
| 173 |
inputs=[
|
| 174 |
gr.inputs.Image(shape=(1024, 1024), type="pil", label="First Image"),
|
| 175 |
gr.inputs.Image(shape=(1024, 1024), type="pil", label="Second Image"),
|
| 176 |
+
gr.inputs.Slider(minimum=0, maximum=6, step=1, default=2, label="Scale"),
|
| 177 |
gr.inputs.Slider(minimum=1, maximum=255, step=25, default=100, label="Binarization Threshold"),
|
| 178 |
gr.inputs.Textbox(lines=1, default="", label="Super-feature IDs to show", optional=True)],
|
| 179 |
outputs=["plot", "plot"],
|
|
|
|
| 184 |
description=description,
|
| 185 |
article=article,
|
| 186 |
css=css,
|
| 187 |
+
examples=[["chateau_1.png", "chateau_2.png", 2, 100, '55,14,5,4,52,57,40,9']],
|
| 188 |
)
|
| 189 |
iface.launch(enable_queue=True)
|