Spaces:
Sleeping
Sleeping
iabualhaol
commited on
Commit
•
9e4ad05
1
Parent(s):
f4a3615
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import streamlit as st
|
2 |
from transformers import pipeline
|
3 |
from textblob import TextBlob
|
4 |
-
model_name=
|
5 |
pipe = pipeline(model_name)
|
6 |
st.title("Sentiment Analysis")
|
7 |
|
|
|
1 |
import streamlit as st
|
2 |
from transformers import pipeline
|
3 |
from textblob import TextBlob
|
4 |
+
model_name= "distilbert-base-uncased-finetuned-sst-2-english"
|
5 |
pipe = pipeline(model_name)
|
6 |
st.title("Sentiment Analysis")
|
7 |
|