Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,5 +5,4 @@ from transformers import pipeline
|
|
5 |
classifier = pipeline("sentiment-analysis")
|
6 |
text = st.text_input("Input a text:")
|
7 |
response = classifier(text)
|
8 |
-
st.write(response
|
9 |
-
st.write(response['score'])
|
|
|
5 |
classifier = pipeline("sentiment-analysis")
|
6 |
text = st.text_input("Input a text:")
|
7 |
response = classifier(text)
|
8 |
+
st.write(response)
|
|