taka-yamakoshi commited on
Commit
6353e7e
·
1 Parent(s): de2522a

show tokenized sentence

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -63,6 +63,7 @@ if __name__=='__main__':
63
  #for word_col,word in zip(word_cols,decoded_sent):
64
  #with word_col:
65
  #st.write(word)
 
66
  st.write(' '.join(decoded_sent))
67
  st.markdown(f"<p style='text-align: center; color: black; font-family:Arial; font-size:20px;'>{len(decoded_sent)} tokens </p>", unsafe_allow_html=True)
68
 
 
63
  #for word_col,word in zip(word_cols,decoded_sent):
64
  #with word_col:
65
  #st.write(word)
66
+ st.write(' '.join(input_sent))
67
  st.write(' '.join(decoded_sent))
68
  st.markdown(f"<p style='text-align: center; color: black; font-family:Arial; font-size:20px;'>{len(decoded_sent)} tokens </p>", unsafe_allow_html=True)
69