Spaces:
Sleeping
Sleeping
Updated app.py
Browse files
app.py
CHANGED
|
@@ -7,7 +7,7 @@ bound_png = gr.Interface(fn=read_bounds_of_image, inputs=gr.Image(type='numpy'),
|
|
| 7 |
outputs=gr.Image(type='numpy'), examples=read_bounds_examples)
|
| 8 |
|
| 9 |
|
| 10 |
-
inp1 = gr.
|
| 11 |
inp2 = gr.Slider(1, 10, 4, step=0.25, label="Resolution")
|
| 12 |
mask_wsi = gr.Interface(fn=mask_image, inputs=[inp1, inp2], outputs=gr.Image(type='numpy'), examples=[mask_wsi_examples])
|
| 13 |
|
|
|
|
| 7 |
outputs=gr.Image(type='numpy'), examples=read_bounds_examples)
|
| 8 |
|
| 9 |
|
| 10 |
+
inp1 = gr.File()
|
| 11 |
inp2 = gr.Slider(1, 10, 4, step=0.25, label="Resolution")
|
| 12 |
mask_wsi = gr.Interface(fn=mask_image, inputs=[inp1, inp2], outputs=gr.Image(type='numpy'), examples=[mask_wsi_examples])
|
| 13 |
|