Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -113,6 +113,10 @@ def predict(input_img):
|
|
| 113 |
gr.Interface(
|
| 114 |
predict,
|
| 115 |
inputs=gr.Image(label="Select an image", type="pil"),
|
| 116 |
-
outputs=[
|
|
|
|
|
|
|
|
|
|
|
|
|
| 117 |
title="ResNet15 Image Classification"
|
| 118 |
-
).launch()
|
|
|
|
| 113 |
gr.Interface(
|
| 114 |
predict,
|
| 115 |
inputs=gr.Image(label="Select an image", type="pil"),
|
| 116 |
+
outputs=[
|
| 117 |
+
gr.Image(label="Processed Image"),
|
| 118 |
+
{"label": "Predicted Class", "type": "text"},
|
| 119 |
+
gr.Tabs("Probabilities")
|
| 120 |
+
],
|
| 121 |
title="ResNet15 Image Classification"
|
| 122 |
+
).launch()
|