YannisK commited on
Commit
dec7f09
1 Parent(s): 2d24879
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -256,7 +256,7 @@ iface = gr.Interface(
256
  gr.inputs.Image(type="pil", label="First Image"),
257
  gr.inputs.Image(type="pil", label="Second Image"),
258
  gr.inputs.Slider(minimum=0, maximum=6, step=1, default=2, label="Scale"),
259
- gr.inputs.Slider(minimum=1, maximum=255, step=25, default=100, label="Binarization Threshold"),
260
  gr.inputs.Textbox(lines=1, default="", label="SF IDs to show (comma separated numbers from 0-255; typing 'rX' will return X random SFs", optional=True),
261
  gr.inputs.Checkbox(default=True, label="Show only matching SFs", optional=False),
262
  ],
@@ -273,7 +273,7 @@ iface = gr.Interface(
273
  css=css,
274
  examples=[
275
  ["chateau_1.png", "chateau_2.png", 2, 100, '55,14,5,4,52,57,40,9', True],
276
- ["anafi1.jpeg", "anafi2.jpeg", 4, 150, '51,141,185,99', True],
277
  ["areopoli1.jpeg", "areopoli2.jpeg", 4, 50, '72,44,142,213,236', True],
278
  ]
279
  )
 
256
  gr.inputs.Image(type="pil", label="First Image"),
257
  gr.inputs.Image(type="pil", label="Second Image"),
258
  gr.inputs.Slider(minimum=0, maximum=6, step=1, default=2, label="Scale"),
259
+ gr.inputs.Slider(minimum=0, maximum=255, step=25, default=100, label="Binarization Threshold"),
260
  gr.inputs.Textbox(lines=1, default="", label="SF IDs to show (comma separated numbers from 0-255; typing 'rX' will return X random SFs", optional=True),
261
  gr.inputs.Checkbox(default=True, label="Show only matching SFs", optional=False),
262
  ],
 
273
  css=css,
274
  examples=[
275
  ["chateau_1.png", "chateau_2.png", 2, 100, '55,14,5,4,52,57,40,9', True],
276
+ ["anafi1.jpeg", "anafi2.jpeg", 4, 150, '1,67,54,177,51,141,185,99', True],
277
  ["areopoli1.jpeg", "areopoli2.jpeg", 4, 50, '72,44,142,213,236', True],
278
  ]
279
  )