Spaces:
Sleeping
Sleeping
update interface
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ def predict(img):
|
|
10 |
return {labels[i]: float(probs[i]) for i in range(len(labels))}
|
11 |
|
12 |
title = "Grain Classifier"
|
13 |
-
description = "A grain classifier trained on the
|
14 |
#article="<p style='text-align: center'><a href='https://tmabraham.github.io/blog/gradio_hf_spaces_tutorial' target='_blank'>Blog post</a></p>"
|
15 |
examples = ['sample/barley_seed.jpeg',
|
16 |
'sample/corn_seed.jpeg',
|
|
|
10 |
return {labels[i]: float(probs[i]) for i in range(len(labels))}
|
11 |
|
12 |
title = "Grain Classifier"
|
13 |
+
description = "A grain classifier trained on the 150 online images with fastai. Created as a demo for Gradio and HuggingFace Spaces."
|
14 |
#article="<p style='text-align: center'><a href='https://tmabraham.github.io/blog/gradio_hf_spaces_tutorial' target='_blank'>Blog post</a></p>"
|
15 |
examples = ['sample/barley_seed.jpeg',
|
16 |
'sample/corn_seed.jpeg',
|