Ryleeeee commited on
Commit
f15954f
·
verified ·
1 Parent(s): cd7441f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -10
app.py CHANGED
@@ -1,16 +1,6 @@
1
  import streamlit as st
2
  from transformers import pipeline
3
 
4
- # Load the sentiment analysis model pipeline
5
- classifier = pipeline("text-classification",model='Ryleeeee/CustomSentimentModel', return_all_scores=True)
6
-
7
- # Streamlit application title and background image
8
- st.image("./header.png")
9
- st.title("Customer Review Analysis")
10
- st.write("Sentiment classification: positive, neutral, negative")
11
- import streamlit as st
12
- from transformers import pipeline
13
-
14
  # Load the sentiment analysis model pipeline
15
  classifier = pipeline("text-classification", model='Ryleeeee/CustomSentimentModel', return_all_scores=True)
16
 
 
1
  import streamlit as st
2
  from transformers import pipeline
3
 
 
 
 
 
 
 
 
 
 
 
4
  # Load the sentiment analysis model pipeline
5
  classifier = pipeline("text-classification", model='Ryleeeee/CustomSentimentModel', return_all_scores=True)
6