taimoor61 commited on
Commit
b85eb1f
·
1 Parent(s): 9291ed5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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"