Spaces:
Runtime error
Runtime error
Commit
·
083eb1e
1
Parent(s):
308457d
Update app.py
Browse files
app.py
CHANGED
@@ -74,9 +74,7 @@ if sidebar_selectbox == "Bulk upload and mark":
|
|
74 |
if data_file is not None:
|
75 |
file_details = {"filename":data_file.name, "filetype":data_file.type, "filesize":data_file.size}
|
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]
|
|
|
74 |
if data_file is not None:
|
75 |
file_details = {"filename":data_file.name, "filetype":data_file.type, "filesize":data_file.size}
|
76 |
st.write(file_details)
|
77 |
+
df = pd.read_csv(data_file, columns = ['Sentences'])
|
|
|
|
|
78 |
|
79 |
# Get length of df.shape (might not need this)
|
80 |
#total_rows = df.shape[0]
|