Spaces:
Runtime error
Runtime error
added requirements.txt
Browse files- .ipynb_checkpoints/requirements-checkpoint.txt +2 -0
- app.py +1 -1
- requirements.txt +2 -0
.ipynb_checkpoints/requirements-checkpoint.txt
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
fastai
|
| 2 |
+
scikit-image
|
app.py
CHANGED
|
@@ -8,7 +8,7 @@ def predict(img):
|
|
| 8 |
preds,idx,probs = learner.predict(img)
|
| 9 |
return dict(zip(categories,map(float,probs)))
|
| 10 |
|
| 11 |
-
examples = ['Arborio.jpg','Basmati.jpg','Ipsala.jpg','Jasmine.jpg']
|
| 12 |
|
| 13 |
|
| 14 |
demo = gr.Interface(fn=predict,
|
|
|
|
| 8 |
preds,idx,probs = learner.predict(img)
|
| 9 |
return dict(zip(categories,map(float,probs)))
|
| 10 |
|
| 11 |
+
examples = ['Arborio.jpg','Basmati.jpg','Ipsala.jpg','Jasmine.jpg','Karacadag.jpg']
|
| 12 |
|
| 13 |
|
| 14 |
demo = gr.Interface(fn=predict,
|
requirements.txt
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
fastai
|
| 2 |
+
scikit-image
|