Transformers How to use Ateeqq/ai-vs-human-image-detector with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("image-classification", model="Ateeqq/ai-vs-human-image-detector")
pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png") # Load model directly
from transformers import AutoProcessor, AutoModelForImageClassification
processor = AutoProcessor.from_pretrained("Ateeqq/ai-vs-human-image-detector")
model = AutoModelForImageClassification.from_pretrained("Ateeqq/ai-vs-human-image-detector")