Ilvir commited on
Commit
43cf0ca
1 Parent(s): f53026e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -0
app.py CHANGED
@@ -15,3 +15,12 @@ st.sidebar.info(
15
  )
16
  st.sidebar.info("Feel free to collaborate and comment on the work. The github link can be found "
17
  "[here](https://github.com/yuliianikolaenko/COVID_dashboard_proglib).")
 
 
 
 
 
 
 
 
 
 
15
  )
16
  st.sidebar.info("Feel free to collaborate and comment on the work. The github link can be found "
17
  "[here](https://github.com/yuliianikolaenko/COVID_dashboard_proglib).")
18
+
19
+ txt = st.text_area('Text to analyze', '''
20
+ It was the best of times, it was the worst of times, it was
21
+ the age of wisdom, it was the age of foolishness, it was
22
+ the epoch of belief, it was the epoch of incredulity, it
23
+ was the season of Light, it was the season of Darkness, it
24
+ was the spring of hope, it was the winter of despair, (...)
25
+ ''')
26
+ st.write('Sentiment:', run_sentiment_analysis(txt))