Spaces:
Sleeping
Sleeping
Kingston Yip
commited on
Commit
•
41b1885
1
Parent(s):
1ea0270
updates
Browse files
app.py
CHANGED
@@ -8,8 +8,9 @@ st.title("Toxic Tweets Analyzer")
|
|
8 |
#form
|
9 |
with st.form("my_form"):
|
10 |
submitted = st.form_submit_button("Analyze")
|
|
|
|
|
11 |
if submitted:
|
12 |
# display text
|
13 |
-
text = st.write("i'm nice at ping pong")
|
14 |
out = pipe(text)
|
15 |
st.json(out)
|
|
|
8 |
#form
|
9 |
with st.form("my_form"):
|
10 |
submitted = st.form_submit_button("Analyze")
|
11 |
+
st.text_area("enter tweet here:")
|
12 |
+
text = st.write("i'm nice at ping pong")
|
13 |
if submitted:
|
14 |
# display text
|
|
|
15 |
out = pipe(text)
|
16 |
st.json(out)
|