fix error
Browse files- src/streamlit_app.py +1 -1
src/streamlit_app.py
CHANGED
|
@@ -5,7 +5,7 @@ import streamlit as st
|
|
| 5 |
import streamlit as st
|
| 6 |
from transformers import pipeline
|
| 7 |
|
| 8 |
-
pipe =
|
| 9 |
text = st.text_area('enter some text!')
|
| 10 |
|
| 11 |
if text:
|
|
|
|
| 5 |
import streamlit as st
|
| 6 |
from transformers import pipeline
|
| 7 |
|
| 8 |
+
pipe = pipeline('sentiment-analysis')
|
| 9 |
text = st.text_area('enter some text!')
|
| 10 |
|
| 11 |
if text:
|