ferdaous commited on
Commit
793a7c9
·
verified ·
1 Parent(s): c846cad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ model = SentenceTransformer("all-MiniLM-L6-v2")
10
  df = pd.read_excel("SupplierList.xlsx")
11
 
12
  supplier_names = df["Supplier Name"].tolist()
13
- supplier_texts = df["Capabilities"].fillna("").tolist()
14
 
15
  # Precompute supplier embeddings
16
  supplier_embeddings = model.encode(supplier_texts, convert_to_tensor=True, normalize_embeddings=True)
 
10
  df = pd.read_excel("SupplierList.xlsx")
11
 
12
  supplier_names = df["Supplier Name"].tolist()
13
+ supplier_texts = df["Capability"].fillna("").tolist()
14
 
15
  # Precompute supplier embeddings
16
  supplier_embeddings = model.encode(supplier_texts, convert_to_tensor=True, normalize_embeddings=True)