Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import streamlit as st
|
2 |
from transformers import pipeline
|
3 |
classifier = pipeline("sentiment-analysis")
|
4 |
-
text = st.
|
5 |
|
6 |
if text :
|
7 |
out = classifier(text)
|
|
|
1 |
import streamlit as st
|
2 |
from transformers import pipeline
|
3 |
classifier = pipeline("sentiment-analysis")
|
4 |
+
text = st.text_area("Enter your text")
|
5 |
|
6 |
if text :
|
7 |
out = classifier(text)
|