sm2899 commited on
Commit
204de1f
1 Parent(s): 2b7ee85

Update sentiment-analyser.py

Browse files
Files changed (1) hide show
  1. sentiment-analyser.py +1 -1
sentiment-analyser.py CHANGED
@@ -5,7 +5,7 @@ st.title('Sentiment Analyser App')
5
  st.write('Welcome to my sentiment analysis app!')
6
 
7
  form = st.form(key='sentiment-form')
8
- user_input = form.text_area('Enter your text')
9
  submit = form.form_submit_button('Submit')
10
 
11
  classifier = pipeline("sentiment-analysis")
 
5
  st.write('Welcome to my sentiment analysis app!')
6
 
7
  form = st.form(key='sentiment-form')
8
+ user_input = form.text_area(label='Enter your text to analyse')
9
  submit = form.form_submit_button('Submit')
10
 
11
  classifier = pipeline("sentiment-analysis")