Update app.py
Browse files
app.py
CHANGED
|
@@ -2,8 +2,8 @@ import streamlit as st
|
|
| 2 |
import transformers
|
| 3 |
from transformers import pipeline
|
| 4 |
|
| 5 |
-
pipe = pipeline('
|
| 6 |
-
text = st.text_area(
|
| 7 |
|
| 8 |
if text:
|
| 9 |
out=pipe(text)
|
|
|
|
| 2 |
import transformers
|
| 3 |
from transformers import pipeline
|
| 4 |
|
| 5 |
+
pipe = pipeline('sentiment-analysis')
|
| 6 |
+
text = st.text_area("Enter Text")
|
| 7 |
|
| 8 |
if text:
|
| 9 |
out=pipe(text)
|