Spaces:
Sleeping
Sleeping
ImpactInsights
commited on
Commit
•
5d25df8
1
Parent(s):
1586e72
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
import streamlit as st
|
2 |
from transformers import pipeline
|
|
|
3 |
|
4 |
pipe = pipeline("sentiment-analysis")
|
5 |
text = st.text_area("enter your text here")
|
|
|
1 |
import streamlit as st
|
2 |
from transformers import pipeline
|
3 |
+
import torch
|
4 |
|
5 |
pipe = pipeline("sentiment-analysis")
|
6 |
text = st.text_area("enter your text here")
|