Spaces:
Runtime error
Runtime error
Commit ·
44a9b3a
1
Parent(s): 63e3611
fix syntax
Browse files
app.py
CHANGED
|
@@ -19,10 +19,10 @@ def predict(img):
|
|
| 19 |
return {labels[i]: float(probs[i]) for i in range(len(labels))}
|
| 20 |
|
| 21 |
title = "Northern EU Mushroom Classifier"
|
| 22 |
-
description = "<p style='text-align: center; font-size:
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
article="<p style='text-align: center; font-size:
|
| 26 |
interpretation='default'
|
| 27 |
enable_queue=True
|
| 28 |
inputs = gr.Image(shape=(224, 224))
|
|
|
|
| 19 |
return {labels[i]: float(probs[i]) for i in range(len(labels))}
|
| 20 |
|
| 21 |
title = "Northern EU Mushroom Classifier"
|
| 22 |
+
description = "<p style='text-align: center; font-size:16px'>A North EU mushroom image classifier trained on a kaggle dataset with fastai. " \
|
| 23 |
+
+"The dataset consist of 9 different folders that contains from 300 to 1500 selected images of mushrooms genuses. " \
|
| 24 |
+
+"</br>Possible genuses are: Agaricus, Amanita, Boletus, Cortinarius, Entoloma, Hygrocybe, Lactarius, Russula and Suillus. </p>"
|
| 25 |
+
article="<p style='text-align: center; font-size:16px'><a href='https://www.kaggle.com/datasets/maysee/mushrooms-classification-common-genuss-images' target='_blank'>Data Source</a></h4>"
|
| 26 |
interpretation='default'
|
| 27 |
enable_queue=True
|
| 28 |
inputs = gr.Image(shape=(224, 224))
|