Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
|