https://huggingface.co/jkang/drawing-artist-classifierhttps://github.com/YoongiKim/AutoCrawler1import tensorflow as tf
2from huggingface_hub import from_pretrained_keras
3model = from_pretrained_keras("jkang/drawing-artistic-trend-classifier")
4
5image_file = 'monet.jpg'
6img = tf.io.read_file(image_file)
7img = tf.io.decode_jpeg(img, channels=3)
8
9last_layer_activation, predictions = model(img[tf.newaxis,...])