s-ahal commited on
Commit
8bb6a0e
·
verified ·
1 Parent(s): 5f91329

Update server.py

Browse files
Files changed (1) hide show
  1. server.py +2 -2
server.py CHANGED
@@ -36,8 +36,8 @@ def load_models():
36
  global processor, clip_model, model
37
 
38
  # Load CLIP model and processor
39
- processor = CLIPProcessor.from_pretrained("openai/clip-vit-base-patch32")
40
- clip_model = CLIPModel.from_pretrained("openai/clip-vit-base-patch32")
41
 
42
  # Initialize MIDM model
43
  input_dim = 10 # Using first 10 features as in your notebook
 
36
  global processor, clip_model, model
37
 
38
  # Load CLIP model and processor
39
+ processor = CLIPProcessor.from_pretrained("openai/clip-vit-base-patch14")
40
+ clip_model = CLIPModel.from_pretrained("openai/clip-vit-base-patch14")
41
 
42
  # Initialize MIDM model
43
  input_dim = 10 # Using first 10 features as in your notebook