Spaces:
Sleeping
Sleeping
tanvirrah001
commited on
Commit
·
6f1c128
1
Parent(s):
ceb9021
Update app.py
Browse files
app.py
CHANGED
@@ -4,5 +4,5 @@ from transformers import pipeline
|
|
4 |
pipe = pipeline('sentiment-analysis')
|
5 |
text = st.text_area('enter some text')
|
6 |
if text:
|
7 |
-
out = pipe(
|
8 |
st.json(out)
|
|
|
4 |
pipe = pipeline('sentiment-analysis')
|
5 |
text = st.text_area('enter some text')
|
6 |
if text:
|
7 |
+
out = pipe(text)
|
8 |
st.json(out)
|