Update README.md
Browse files
README.md
CHANGED
@@ -43,7 +43,7 @@ This model achieves the following results on the evaluation set:
|
|
43 |
|
44 |
from PIL import Image
|
45 |
from transformers import pipeline
|
46 |
-
classifier = pipeline("image-classification", model="NYUAD-ComNets/
|
47 |
image=Image.open("path_to_image")
|
48 |
pred=classifier(image)
|
49 |
print(pred)
|
|
|
43 |
|
44 |
from PIL import Image
|
45 |
from transformers import pipeline
|
46 |
+
classifier = pipeline("image-classification", model="NYUAD-ComNets/NYUAD_AI-generated_images_detector")
|
47 |
image=Image.open("path_to_image")
|
48 |
pred=classifier(image)
|
49 |
print(pred)
|