Update app.py
Browse files
app.py
CHANGED
@@ -1,12 +1,12 @@
|
|
1 |
from transformers import pipeline
|
2 |
import streamlit as st
|
3 |
|
4 |
-
pipe = pipeline('sentiment
|
5 |
|
6 |
st.write(type(pipeline))
|
7 |
st.write(type(pipe))
|
8 |
|
9 |
-
input_text = st.text_input('Enter
|
10 |
|
11 |
|
12 |
if input_text:
|
|
|
1 |
from transformers import pipeline
|
2 |
import streamlit as st
|
3 |
|
4 |
+
pipe = pipeline('sentiment-analysis')
|
5 |
|
6 |
st.write(type(pipeline))
|
7 |
st.write(type(pipe))
|
8 |
|
9 |
+
input_text = st.text_input('Enter some text')
|
10 |
|
11 |
|
12 |
if input_text:
|