Spaces:
Runtime error
Runtime error
Commit ·
4bd0da3
1
Parent(s): 7b4dc91
Update app.py
Browse files
app.py
CHANGED
|
@@ -81,7 +81,11 @@ if __name__ == "__main__":
|
|
| 81 |
gr.Interface(
|
| 82 |
fn=segment,
|
| 83 |
inputs="image",
|
| 84 |
-
outputs=[
|
|
|
|
|
|
|
|
|
|
|
|
|
| 85 |
examples=[["benign(10).png"], ["benign(109).png"]],
|
| 86 |
title = '<h1 style="text-align: center;">Breast Cancer Ultrasound Image Segmentation! 💐 </h1>',
|
| 87 |
description = """
|
|
|
|
| 81 |
gr.Interface(
|
| 82 |
fn=segment,
|
| 83 |
inputs="image",
|
| 84 |
+
outputs=[
|
| 85 |
+
gr.Image(type="pil", label="Breast Cancer Mask"),
|
| 86 |
+
gr.Number(label="Class 0 Percentage"),
|
| 87 |
+
gr.Number(label="Class 1 Percentage")
|
| 88 |
+
],
|
| 89 |
examples=[["benign(10).png"], ["benign(109).png"]],
|
| 90 |
title = '<h1 style="text-align: center;">Breast Cancer Ultrasound Image Segmentation! 💐 </h1>',
|
| 91 |
description = """
|