richardorama commited on
Commit
d823716
1 Parent(s): c339fa2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -45,11 +45,11 @@ else:
45
  sentiment_pipeline = pipeline("sentiment-analysis")
46
 
47
  # Default article text
48
- DEFAULT_SENTIMENT = "[
49
  "I'm so happy today!",
50
  "This is the worst experience ever.",
51
  "It's a decent product, nothing special."
52
- ]"
53
 
54
  # Create a text area for user input
55
  SENTIMENT = st.sidebar.text_area('Enter Sentiment', DEFAULT_SENTIMENT, height=150)
 
45
  sentiment_pipeline = pipeline("sentiment-analysis")
46
 
47
  # Default article text
48
+ DEFAULT_SENTIMENT = """[
49
  "I'm so happy today!",
50
  "This is the worst experience ever.",
51
  "It's a decent product, nothing special."
52
+ ]"""
53
 
54
  # Create a text area for user input
55
  SENTIMENT = st.sidebar.text_area('Enter Sentiment', DEFAULT_SENTIMENT, height=150)