Oliver Li commited on
Commit
684d14e
·
1 Parent(s): 15103fe

added default text

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -13,7 +13,8 @@ st.title("Basic Sentiment Analysis App")
13
  st.write("Enter a text and select a pre-trained model to get the sentiment analysis.")
14
 
15
  # Input text
16
- text = st.text_input("Enter your text:")
 
17
 
18
  # Model selection
19
  model_options = {
 
13
  st.write("Enter a text and select a pre-trained model to get the sentiment analysis.")
14
 
15
  # Input text
16
+ default_text = "I love my life."
17
+ text = st.text_input("Enter your text:", value=default_text)
18
 
19
  # Model selection
20
  model_options = {