Spaces:
Sleeping
Sleeping
Kingston Yip
commited on
Commit
Β·
541a50a
1
Parent(s):
869a57d
more ye ofc
Browse files
app.py
CHANGED
@@ -77,7 +77,7 @@ with st.form("my_form"):
|
|
77 |
model_name = st.selectbox("Enter a text and select a pre-trained model to get the sentiment analysis", ["kingsotn/finetuned_cyberbullying", "distilbert-base-uncased-finetuned-sst-2-english", "finiteautomata/bertweet-base-sentiment-analysis", "distilbert-base-uncased"])
|
78 |
|
79 |
if model_name == "kingsotn/finetuned_cyberbullying":
|
80 |
-
default = "I'm
|
81 |
tweet = st.text_area(label="Enter Text:",value=default)
|
82 |
submitted = st.form_submit_button("Analyze textbox")
|
83 |
random = st.form_submit_button("Get a random πππ tweet (warning!!)")
|
|
|
77 |
model_name = st.selectbox("Enter a text and select a pre-trained model to get the sentiment analysis", ["kingsotn/finetuned_cyberbullying", "distilbert-base-uncased-finetuned-sst-2-english", "finiteautomata/bertweet-base-sentiment-analysis", "distilbert-base-uncased"])
|
78 |
|
79 |
if model_name == "kingsotn/finetuned_cyberbullying":
|
80 |
+
default = "I'm not even going to lie to you. I love me so much right now."
|
81 |
tweet = st.text_area(label="Enter Text:",value=default)
|
82 |
submitted = st.form_submit_button("Analyze textbox")
|
83 |
random = st.form_submit_button("Get a random πππ tweet (warning!!)")
|