Update app.py
Browse files
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)
|