Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ import numpy as np
|
|
8 |
import cv2
|
9 |
from transformers import (
|
10 |
CLIPProcessor, CLIPModel,
|
11 |
-
AutoProcessor
|
12 |
)
|
13 |
|
14 |
# βββββββββββββββββββββββββββββ
|
@@ -45,6 +45,8 @@ except:
|
|
45 |
medical_model = clip_model
|
46 |
MEDICAL_MODEL_AVAILABLE = False
|
47 |
|
|
|
|
|
48 |
# 3. Stanford Dogs & lifespans (expanded list)
|
49 |
STANFORD_BREEDS = [
|
50 |
"afghan hound", "african hunting dog", "airedale", "american staffordshire terrier",
|
|
|
8 |
import cv2
|
9 |
from transformers import (
|
10 |
CLIPProcessor, CLIPModel,
|
11 |
+
AutoProcessor
|
12 |
)
|
13 |
|
14 |
# βββββββββββββββββββββββββββββ
|
|
|
45 |
medical_model = clip_model
|
46 |
MEDICAL_MODEL_AVAILABLE = False
|
47 |
|
48 |
+
# ... rest of your code remains the same
|
49 |
+
|
50 |
# 3. Stanford Dogs & lifespans (expanded list)
|
51 |
STANFORD_BREEDS = [
|
52 |
"afghan hound", "african hunting dog", "airedale", "american staffordshire terrier",
|