DHEIVER commited on
Commit
13124d8
·
1 Parent(s): 5ec5751

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -30,4 +30,9 @@ outputs = [
30
  gr.outputs.Textbox(label="Probability of glaucoma (0-100)"),
31
  ]
32
 
33
- gr.Interface(classify_image, inputs, outputs, examples=["001.jpg", "002.jpg", "225.jpg"]).launch()
 
 
 
 
 
 
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()