Spaces:
Sleeping
Sleeping
Commit ·
28f9750
1
Parent(s): 80bf2ab
Update app.py
Browse files3 unmodified lines4567789103 unmodified lines
x = st.file_uploader("Upload Images", type=["png","jpg","jpeg"])if x is not None: st.image(img.open(x),width=250) st.image(img.open(x),width=255) i = img.open(x) processor = ViTImageProcessor.from_pretrained('google/vit-base-patch16-224') model = ViTForImageClassification.from_pretrained('google/vit-base-patch16-224')app.py+1-1