Commit
·
8ecf454
1
Parent(s):
541433e
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
from transformers import pipeline
|
| 3 |
from transformers import AutoModelForSequenceClassification, AutoTokenizer
|
| 4 |
-
pip install googletrans==4.0.0rc1
|
| 5 |
from googletrans import Translator
|
| 6 |
|
| 7 |
# Load the sentiment analysis model from our BERT model
|
|
|
|
| 1 |
+
pip install googletrans==4.0.0rc1
|
| 2 |
import streamlit as st
|
| 3 |
from transformers import pipeline
|
| 4 |
from transformers import AutoModelForSequenceClassification, AutoTokenizer
|
|
|
|
| 5 |
from googletrans import Translator
|
| 6 |
|
| 7 |
# Load the sentiment analysis model from our BERT model
|