Spaces:
Runtime error
Runtime error
Update sentiment-analyser.py
Browse files- 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")
|