# Use a pipeline as a high-level helperfrom transformers import pipeline
pipe = pipeline("image-classification", model="pain/ArSL_AlphabetsClassificationModel")
pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")
# Load model directlyfrom transformers import AutoModel
model = AutoModel.from_pretrained("pain/ArSL_AlphabetsClassificationModel", dtype="auto")
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="pain/ArSL_AlphabetsClassificationModel") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")