NILC-ICMC-USP commited on
Commit
243d1d8
·
verified ·
1 Parent(s): 93d2a96

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -197,7 +197,7 @@ with rowall[1]:
197
  content = f.read()
198
  tab1.text(content)
199
  content = content.split('\n')
200
- table = pd.DataFrame([line.split('\t') for line in content[4:]])
201
  table.columns = ['ID','FORM','LEMMA','UPOS','XPOS','FEATS','HEAD','DEPREL','DEPS','MISC']
202
  tab2.dataframe(table[:-2], use_container_width=True,hide_index=True)
203
  except Exception as e:
 
197
  content = f.read()
198
  tab1.text(content)
199
  content = content.split('\n')
200
+ table = pd.DataFrame([line.split('\t') for line in content[2:]])
201
  table.columns = ['ID','FORM','LEMMA','UPOS','XPOS','FEATS','HEAD','DEPREL','DEPS','MISC']
202
  tab2.dataframe(table[:-2], use_container_width=True,hide_index=True)
203
  except Exception as e: