karthikeyan-r commited on
Commit
8b1986c
1 Parent(s): bde8812

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -150,7 +150,7 @@ if st.button("Compute Similarities"):
150
  contract_embeddings = embedding_processor.get_embeddings(contract_texts)
151
 
152
  # Compute similarities
153
- similarities = SimilarityCalculator.compute_similarity(template_embeddings, contract_embeddings)
154
 
155
  # Display results in a table format
156
  similarity_data = []
 
150
  contract_embeddings = embedding_processor.get_embeddings(contract_texts)
151
 
152
  # Compute similarities
153
+ similarities = compute_similarity(template_embeddings, contract_embeddings)
154
 
155
  # Display results in a table format
156
  similarity_data = []