Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -30,4 +30,9 @@ outputs = [
|
|
| 30 |
gr.outputs.Textbox(label="Probability of glaucoma (0-100)"),
|
| 31 |
]
|
| 32 |
|
| 33 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
gr.outputs.Textbox(label="Probability of glaucoma (0-100)"),
|
| 31 |
]
|
| 32 |
|
| 33 |
+
examples = [
|
| 34 |
+
[np.zeros((224, 224, 3)), "my_model.h5"],
|
| 35 |
+
[np.ones((224, 224, 3)) * 255, "my_model_2.h5"]
|
| 36 |
+
]
|
| 37 |
+
|
| 38 |
+
gr.Interface(classify_image, inputs, outputs, examples=examples).launch()
|