File size: 742 Bytes
7d10adc
 
1b6571d
7d10adc
 
fa18c6b
7d10adc
880589f
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import gradio as gr

title = "🔬 Leukocytes classification from blood smear images"
description = "Upload your own image"
css = "body {background-color: #eedeff}"
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']     

gr.Interface.load(
    "models/polejowska/swin-tiny-patch4-window7-224-lcbsi-wbc-new",
    description=description,
    title=title,
    css=css,
    examples=EXAMPLES
).launch()