MishaD
commited on
Commit
·
f8298b1
1
Parent(s):
1ec3755
Delete per cent symbol in app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ from model import classify_text
|
|
| 3 |
|
| 4 |
|
| 5 |
st.markdown("### Sentiment classification (negative vs. positive)")
|
| 6 |
-
title = st.text_area("Your sentiment for classification", "I
|
| 7 |
if st.button("Classify!"):
|
| 8 |
prob = float(classify_text(title))
|
| 9 |
-
st.markdown(f"**Model**:
|
|
|
|
| 3 |
|
| 4 |
|
| 5 |
st.markdown("### Sentiment classification (negative vs. positive)")
|
| 6 |
+
title = st.text_area("Your sentiment for classification", "2010 So I spent a few hours making something for fun. . . If you don't know I am a HUGE RhandlerR fan and Maya is one of my favorite characters. So I decided to make myself a wallpaper for my PC. . Here is the original image versus the creation I made :) Enjoy! pic.twitter.com/mLsI5wf9Jg")
|
| 7 |
if st.button("Classify!"):
|
| 8 |
prob = float(classify_text(title))
|
| 9 |
+
st.markdown(f"**Model**: {round(prob, 5)} probability of being positive")
|