Dhairyashil Ghatage commited on
Commit
fbb593d
·
1 Parent(s): bdb7fbc

update dim

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -145,9 +145,7 @@ class MultimodalPhiWithAdapter(nn.Module):
145
  return sum(p.numel() for p in self.parameters())
146
 
147
 
148
- embeddings_path = "118k_clip_embeddings_phi2.pt"
149
- clip_embeddings = torch.load(embeddings_path, map_location=device)
150
- clip_embedding_dim = clip_embeddings.shape[1]
151
 
152
  # Then, after the import:
153
  processor, model_clip = load_clip()
 
145
  return sum(p.numel() for p in self.parameters())
146
 
147
 
148
+ clip_embedding_dim = 512 #clip_embeddings.shape[1]
 
 
149
 
150
  # Then, after the import:
151
  processor, model_clip = load_clip()