Spaces:
Sleeping
Sleeping
File size: 520 Bytes
9b07141 ab5098c eddc41b ab5098c 9b07141 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
# import os
# os.system('pip install transformers')
import streamlit as st
import transformers
txt = st.text_area(
"Text to analyze",
"It was the best of times, it was the worst of times, it was the age of "
"wisdom, it was the age of foolishness, it was the epoch of belief, it "
"was the epoch of incredulity, it was the season of Light, it was the "
"season of Darkness, it was the spring of hope, it was the winter of "
"despair, (...)",
)
st.write(f'You wrote {len(txt)} characters.') |