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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -40,10 +40,11 @@ if choice == 'Text Input':
40
  sentence = Sentence(data)
41
  model = load_model('best-model-002.pt')
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
 
 
40
  sentence = Sentence(data)
41
  model = load_model('best-model-002.pt')
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
+ st.write(token.tag)
48
 
49
 
50