Spaces:
Build error
Build error
Commit
·
36a334c
1
Parent(s):
af8f8e5
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
import streamlit as st
|
2 |
-
from
|
3 |
pipe = pipeline ('sentiment analysis')
|
4 |
text = st.text_area('enter some text!')
|
5 |
if text:
|
|
|
1 |
import streamlit as st
|
2 |
+
from transformers import pipeline
|
3 |
pipe = pipeline ('sentiment analysis')
|
4 |
text = st.text_area('enter some text!')
|
5 |
if text:
|