dawng88 commited on
Commit
991eece
1 Parent(s): e309f81

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -2,8 +2,7 @@ import streamlit as st
2
  from transformers import pipeline
3
  from transformers import BertTokenizer
4
 
5
- text1 = st.text_area('Sentiment Analysis Model - SacHacks2023')
6
- text = st.text_area('Text to analyze:')
7
  classifier = pipeline("text-classification", model="j-hartmann/emotion-english-distilroberta-base", return_all_scores=True)
8
 
9
  if text:
 
2
  from transformers import pipeline
3
  from transformers import BertTokenizer
4
 
5
+ text = st.text_area('Sentiment Analysis Model - SacHacks2023 | Text to analyze:')
 
6
  classifier = pipeline("text-classification", model="j-hartmann/emotion-english-distilroberta-base", return_all_scores=True)
7
 
8
  if text: