egumasa commited on
Commit
8005d6d
·
1 Parent(s): 0535d72

new version

Browse files
Files changed (1) hide show
  1. utils/visualize.py +1 -1
utils/visualize.py CHANGED
@@ -159,7 +159,7 @@ def visualize_spans(
159
  div_data = pd.DataFrame.from_dict(div, orient='index')
160
  # st.dataframe(div_data)
161
 
162
- doc_data = pd.concat([div_data, counts], axis = 0).T
163
  filename = "NA"
164
  doc_data.insert(0, "filename", filename, True)
165
  doc_data.insert(1, "nwords", len(doc), True)
 
159
  div_data = pd.DataFrame.from_dict(div, orient='index')
160
  # st.dataframe(div_data)
161
 
162
+ doc_data = pd.concat([div_data, counts, ], axis = 0).T
163
  filename = "NA"
164
  doc_data.insert(0, "filename", filename, True)
165
  doc_data.insert(1, "nwords", len(doc), True)