atanu0491 commited on
Commit
16e813a
·
1 Parent(s): c85d243

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -42,7 +42,8 @@ if choice == 'Text Input':
42
  model.predict(sentence)
43
  st.write(sentence.to_original_text())
44
  st.write(sentence.to_tagged_string())
45
- st.write(sentence.get_spans())
 
46
 
47
 
48
 
 
42
  model.predict(sentence)
43
  st.write(sentence.to_original_text())
44
  st.write(sentence.to_tagged_string())
45
+ for token in sentence:
46
+ st.write(token.text)
47
 
48
 
49