Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ from PIL import Image
|
|
4 |
import torch
|
5 |
|
6 |
# Load a pre-trained image classification model
|
7 |
-
model_name = "
|
8 |
image_processor = AutoImageProcessor.from_pretrained(model_name)
|
9 |
model = AutoModelForImageClassification.from_pretrained(model_name)
|
10 |
|
|
|
4 |
import torch
|
5 |
|
6 |
# Load a pre-trained image classification model
|
7 |
+
model_name = "Shio-Koube/Anime_filterer"
|
8 |
image_processor = AutoImageProcessor.from_pretrained(model_name)
|
9 |
model = AutoModelForImageClassification.from_pretrained(model_name)
|
10 |
|