CelagenexResearch commited on
Commit
0d6b0a2
Β·
verified Β·
1 Parent(s): 4918931

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -8,7 +8,7 @@ import numpy as np
8
  import cv2
9
  from transformers import (
10
  CLIPProcessor, CLIPModel,
11
- AutoProcessor, AutoModelForVisionToText
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",