prthm11 commited on
Commit
82ae1d4
·
verified ·
1 Parent(s): ae1250e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -35,9 +35,9 @@ DINOV2_MODEL = "facebook/dinov2-small"
35
  # For PHash normalization when combining scores: assumed max hamming bits (typical phash=64)
36
  MAX_PHASH_BITS = 64
37
 
38
- # -----------------------
39
  # INITIALIZE MODELS
40
- # -----------------------
41
  print("Initializing models and helpers...")
42
  DEVICE = torch.device("cuda" if torch.cuda.is_available() else "cpu")
43
  if DEVICE.type == "cpu":
 
35
  # For PHash normalization when combining scores: assumed max hamming bits (typical phash=64)
36
  MAX_PHASH_BITS = 64
37
 
38
+ # ----------------------
39
  # INITIALIZE MODELS
40
+ # ----------------------
41
  print("Initializing models and helpers...")
42
  DEVICE = torch.device("cuda" if torch.cuda.is_available() else "cpu")
43
  if DEVICE.type == "cpu":