Spaces:
Runtime error
Runtime error
Oliver Li
commited on
Commit
·
684d14e
1
Parent(s):
15103fe
added default text
Browse files
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 |
-
|
|
|
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 = {
|