Spaces:
Runtime error
Runtime error
Commit
·
308457d
1
Parent(s):
c7626f8
Update app.py
Browse files
app.py
CHANGED
@@ -76,6 +76,8 @@ if sidebar_selectbox == "Bulk upload and mark":
|
|
76 |
st.write(file_details)
|
77 |
df = pd.read_csv(data_file)
|
78 |
|
|
|
|
|
79 |
# Get length of df.shape (might not need this)
|
80 |
#total_rows = df.shape[0]
|
81 |
|
@@ -87,7 +89,7 @@ if sidebar_selectbox == "Bulk upload and mark":
|
|
87 |
sentences = []
|
88 |
|
89 |
# Compare the setences two by two
|
90 |
-
sentence_comparison = df['
|
91 |
sentences.append(sentence_reference)
|
92 |
sentences.append(sentence_comparison)
|
93 |
|
|
|
76 |
st.write(file_details)
|
77 |
df = pd.read_csv(data_file)
|
78 |
|
79 |
+
df = pd.DataFrame(data, columns = ['Sentences'])
|
80 |
+
|
81 |
# Get length of df.shape (might not need this)
|
82 |
#total_rows = df.shape[0]
|
83 |
|
|
|
89 |
sentences = []
|
90 |
|
91 |
# Compare the setences two by two
|
92 |
+
sentence_comparison = df['Sentences'][index]
|
93 |
sentences.append(sentence_reference)
|
94 |
sentences.append(sentence_comparison)
|
95 |
|