Spaces:
Runtime error
Runtime error
File size: 440 Bytes
1a5f890 6c042c6 |
1 2 3 4 5 6 7 8 9 10 11 |
import streamlit as st
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('Sentiment:', run_sentiment_analysis(txt))
|