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