Shio-Koube commited on
Commit
5f2b8e8
·
verified ·
1 Parent(s): c0365b2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ from io import BytesIO
16
  MODEL_ARCH = "animetimm/convnext_base.dbv4-full"
17
  CLASSES = ["Good", "Normal", "Bad"] # Must match your training order
18
  MODEL_PATH = "best_model.pth"
19
- MODEL_URL = "https://huggingface.co/Shio-Koube/Anime-rater-2/resolve/main/best_model.pth"
20
  DEVICE = "cuda" if torch.cuda.is_available() else "cpu"
21
 
22
  # Cap the longest side to avoid wasting GPU compute
 
16
  MODEL_ARCH = "animetimm/convnext_base.dbv4-full"
17
  CLASSES = ["Good", "Normal", "Bad"] # Must match your training order
18
  MODEL_PATH = "best_model.pth"
19
+ MODEL_URL = "https://huggingface.co/Shio-Koube/ConvNext-aesthetic-rater/resolve/main/best_model.pth"
20
  DEVICE = "cuda" if torch.cuda.is_available() else "cpu"
21
 
22
  # Cap the longest side to avoid wasting GPU compute