Spaces:
Runtime error
Runtime error
Commit
·
7cc9634
1
Parent(s):
7bd3b72
Update app.py
Browse files
app.py
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
import os
|
2 |
os.system('pip install transformers')
|
3 |
-
os.system('pip install
|
4 |
|
5 |
|
6 |
import streamlit as st
|
7 |
from transformers import pipeline
|
8 |
-
from textblob import
|
9 |
|
10 |
pipe = pipeline('sentiment-analysis')
|
11 |
st.title("Hugging Face Sentiment Analysis Spaces Example")
|
|
|
1 |
import os
|
2 |
os.system('pip install transformers')
|
3 |
+
os.system('pip install TextBlob')
|
4 |
|
5 |
|
6 |
import streamlit as st
|
7 |
from transformers import pipeline
|
8 |
+
from textblob import TextBlob
|
9 |
|
10 |
pipe = pipeline('sentiment-analysis')
|
11 |
st.title("Hugging Face Sentiment Analysis Spaces Example")
|