Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ learn = load_learner('model.pkl')
|
|
5 |
categories = ('chickenpox', 'cowpox', 'healthy', 'measles', 'monkeypox', 'smallpox')
|
6 |
examples = ['ch_0001.jpg', 'co_0001.jpg', 'he_0001.jpg', 'mo_0001.jpg', 'sm_0001.jpg']
|
7 |
title = "Monkeypox Classifier (NOT MEDICAL ADVICE)"
|
8 |
-
description = "A transfer learning model using resnet 50 to classify Monkeypox/Smallpox/Cowpox/Chickenpox/Measles
|
9 |
|
10 |
labels = learn.dls.vocab
|
11 |
def predict(img):
|
|
|
5 |
categories = ('chickenpox', 'cowpox', 'healthy', 'measles', 'monkeypox', 'smallpox')
|
6 |
examples = ['ch_0001.jpg', 'co_0001.jpg', 'he_0001.jpg', 'mo_0001.jpg', 'sm_0001.jpg']
|
7 |
title = "Monkeypox Classifier (NOT MEDICAL ADVICE)"
|
8 |
+
description = "A transfer learning model using resnet 50 to classify Monkeypox/Smallpox/Cowpox/Chickenpox/Measles (NOT MEDICAL ADVICE) using https://www.kaggle.com/datasets/arafathussain/monkeypox-skin-image-dataset-2022 dataset, @article{islam2022aweb, title={A Web-scraped Skin Image Database of Monkeypox, Chickenpox, Smallpox, Cowpox, and Measles}, author={Islam, Towhidul and Hussain, Mohammad Arafat and Chowdhury, Forhad Uddin Hasan and Islam, B M Riazul}, journal={bioRxiv 2022.08.01.502199}, doi {https://doi.org/10.1101/2022.08.01.502199}, year={2022} }"
|
9 |
|
10 |
labels = learn.dls.vocab
|
11 |
def predict(img):
|