Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -4,11 +4,19 @@ import numpy as np
|
|
4 |
import pandas as pd
|
5 |
import requests
|
6 |
from io import BytesIO
|
7 |
-
from fastai.vision.all import load_learner
|
8 |
|
9 |
# Initialize Streamlit app
|
10 |
st.title("White Blood Cell Classifier")
|
11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
# Load the FastAI model for WBC identification
|
13 |
fastai_model = load_learner('model1.pkl')
|
14 |
|
|
|
4 |
import pandas as pd
|
5 |
import requests
|
6 |
from io import BytesIO
|
7 |
+
from fastai.vision.all import load_learner
|
8 |
|
9 |
# Initialize Streamlit app
|
10 |
st.title("White Blood Cell Classifier")
|
11 |
|
12 |
+
# Add a description or subtitle
|
13 |
+
st.markdown("""
|
14 |
+
This app allows you to classify white blood cells from an uploaded image.
|
15 |
+
You can upload an image of a blood sample, and the app will predict the type of white blood cell present.
|
16 |
+
Choose from various cell types like eosinophil, lymphocyte, monocyte, and neutrophil.
|
17 |
+
Note: To get the best results, please make sure there is only one WBC in the image. This model has not been trained on basophils.
|
18 |
+
""")
|
19 |
+
|
20 |
# Load the FastAI model for WBC identification
|
21 |
fastai_model = load_learner('model1.pkl')
|
22 |
|