Spaces:
Runtime error
Runtime error
add type='numpy'
Browse files
app.py
CHANGED
|
@@ -34,8 +34,8 @@ gr.Interface(inference,
|
|
| 34 |
gr.inputs.Textbox(placeholder='e.g., cFOS_in_HC_ensemble.pt', label='model_name'),
|
| 35 |
gr.inputs.Image(type='numpy', label='Input image')
|
| 36 |
],
|
| 37 |
-
[gr.outputs.Image(label='Segmentation Mask'),
|
| 38 |
-
gr.outputs.Image(label='Uncertainty Map')],
|
| 39 |
title=title,
|
| 40 |
description=description,
|
| 41 |
examples=examples,
|
|
|
|
| 34 |
gr.inputs.Textbox(placeholder='e.g., cFOS_in_HC_ensemble.pt', label='model_name'),
|
| 35 |
gr.inputs.Image(type='numpy', label='Input image')
|
| 36 |
],
|
| 37 |
+
[gr.outputs.Image(type='numpy', label='Segmentation Mask'),
|
| 38 |
+
gr.outputs.Image(type='numpy', label='Uncertainty Map')],
|
| 39 |
title=title,
|
| 40 |
description=description,
|
| 41 |
examples=examples,
|