Spaces:
Build error
Build error
Shankarm08
commited on
Commit
•
4c7c435
1
Parent(s):
60c0710
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,3 @@
|
|
1 |
-
|
2 |
-
from transformers import AutoImageProcessor, AutoModelForImageClassification
|
3 |
|
4 |
-
|
5 |
-
model = AutoModelForImageClassification.from_pretrained("tonyassi/fashion-clothing-decade")
|
|
|
1 |
+
from transformers import pipeline
|
|
|
2 |
|
3 |
+
pipe = pipeline("image-classification", model="tonyassi/fashion-clothing-decade")
|
|