Kuaaangwen commited on
Commit
fc99537
·
1 Parent(s): 083eb1e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -81,13 +81,14 @@ if sidebar_selectbox == "Bulk upload and mark":
81
 
82
  similarity_scores = []
83
 
84
- for index in df.index:
 
85
 
86
  # Create an empty sentence list
87
  sentences = []
88
 
89
  # Compare the setences two by two
90
- sentence_comparison = df['Sentences'][index]
91
  sentences.append(sentence_reference)
92
  sentences.append(sentence_comparison)
93
 
 
81
 
82
  similarity_scores = []
83
 
84
+ for idx, row in df.iterrows():
85
+ st.write(idx, row['Sentences'])
86
 
87
  # Create an empty sentence list
88
  sentences = []
89
 
90
  # Compare the setences two by two
91
+ sentence_comparison = row['Sentences']
92
  sentences.append(sentence_reference)
93
  sentences.append(sentence_comparison)
94