LCBSI / app.py
polejowska's picture
Update app.py
b5939e8
raw
history blame
720 Bytes
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()