Spaces:
Build error
Build error
Commit
·
c89d92c
1
Parent(s):
81e1731
add submit button
Browse files
app.py
CHANGED
@@ -23,5 +23,6 @@ data = st.text_input(
|
|
23 |
"Enter Text", "Just started school at NYU! Looking forward to this new chapter!"
|
24 |
)
|
25 |
|
26 |
-
|
27 |
-
|
|
|
|
23 |
"Enter Text", "Just started school at NYU! Looking forward to this new chapter!"
|
24 |
)
|
25 |
|
26 |
+
if st.button("Submit"):
|
27 |
+
results = sentiment_analysis([data])
|
28 |
+
st.write(results)
|