polejowska commited on
Commit
fa18c6b
1 Parent(s): 5441d13

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -3,6 +3,6 @@ import gradio as gr
3
  title = "🔬 Leukocytes classification from blood smear images"
4
  description = "Upload your own image"
5
  css = "body {background-color: #eedeff}"
6
- EXAMPLES = ['20190526_163735_0.jpg', '20190531_115056_0.jpg', '95-5-10-1_571_1.jpg', '95-5-10-1_695_1.jpg', '95-5-4-1_198_1.jpg', '95-7-24-2_291_2.jpg', '95-8-1-1_734_1.jpg', '95-8-13-4_7_3.jpg', '95-8-24-1_190_1.jpg', '95-8-27-1_224_7.jpg', '95-8-27-1_465_9.jpg', '95-9-4-7_26_1.jpg', 'BloodImage_00278_jpg.rf.c271aa5245a39cc10463d8d5f9ee4bf8.jpg', '031.bmp', '040.bmp', '51.bmp']
7
 
8
- gr.Interface.load("models/polejowska/swin-tiny-patch4-window7-224-lcbsi-wbc", description=description, title=title, css=css, examples=EXAMPLES).launch()
 
3
  title = "🔬 Leukocytes classification from blood smear images"
4
  description = "Upload your own image"
5
  css = "body {background-color: #eedeff}"
6
+ EXAMPLES = ['20190526_163735_0.jpg', '20190531_115056_0.jpg', '95-5-10-1_571_1.jpg', '95-5-10-1_695_1.jpg', '95-5-4-1_198_1.jpg', '95-7-24-2_291_2.jpg', '95-8-1-1_734_1.jpg', '95-8-13-4_7_3.jpg', '95-8-24-1_190_1.jpg', '95-8-27-1_224_7.jpg', '95-8-27-1_465_9.jpg', '95-9-4-7_26_1.jpg', 'BloodImage_00278_jpg.rf.c271aa5245a39cc10463d8d5f9ee4bf8.jpg', '006.bmp', '031.bmp', '040.bmp', '51.bmp']
7
 
8
+ gr.Interface.load("models/polejowska/vit-base-patch16-224-in21k-lcbsi", description=description, title=title, css=css, examples=EXAMPLES).launch()