bhagyabonam commited on
Commit
c99b2d6
·
verified ·
1 Parent(s): 4813d6d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -227,7 +227,7 @@ objection_embeddings = np.array(objection_embeddings, dtype="float32")
227
  print(f"Shape of objection_embeddings: {objection_embeddings.shape}")
228
 
229
  # Assuming you know the expected dimension of the embeddings (e.g., 768)
230
- expected_dim = 768 # Example value for sentence embeddings (replace with the actual dimension)
231
  if len(objection_embeddings.shape) == 1:
232
  objection_embeddings = objection_embeddings.reshape(-1, 1)
233
 
 
227
  print(f"Shape of objection_embeddings: {objection_embeddings.shape}")
228
 
229
  # Assuming you know the expected dimension of the embeddings (e.g., 768)
230
+ expected_dim = 384 # Example value for sentence embeddings (replace with the actual dimension)
231
  if len(objection_embeddings.shape) == 1:
232
  objection_embeddings = objection_embeddings.reshape(-1, 1)
233