Update app.py
Browse files
app.py
CHANGED
|
@@ -3,8 +3,8 @@ from PIL import Image
|
|
| 3 |
from transformers import pipeline
|
| 4 |
|
| 5 |
|
| 6 |
-
|
| 7 |
-
classifier = pipeline("image-classification", model="Docty/
|
| 8 |
|
| 9 |
def classify_image(img):
|
| 10 |
if not isinstance(img, Image.Image):
|
|
|
|
| 3 |
from transformers import pipeline
|
| 4 |
|
| 5 |
|
| 6 |
+
|
| 7 |
+
classifier = pipeline("image-classification", model="Docty/mangoes")
|
| 8 |
|
| 9 |
def classify_image(img):
|
| 10 |
if not isinstance(img, Image.Image):
|