Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
import streamlit as st
|
2 |
from transformers import pipeline, AutoModelForSequenceClassification, AutoTokenizer
|
|
|
|
|
3 |
|
4 |
# Explicitly specify the sentiment analysis model
|
5 |
model_name = "nlptown/bert-base-multilingual-uncased-sentiment"
|
|
|
1 |
import streamlit as st
|
2 |
from transformers import pipeline, AutoModelForSequenceClassification, AutoTokenizer
|
3 |
+
pip install tensorflow==2.0 torch
|
4 |
+
|
5 |
|
6 |
# Explicitly specify the sentiment analysis model
|
7 |
model_name = "nlptown/bert-base-multilingual-uncased-sentiment"
|