Commit
·
ec68b63
1
Parent(s):
2d69a68
Update app.py
Browse files
app.py
CHANGED
|
@@ -90,7 +90,7 @@ st.title("Create Knowledge Graphs from Cyber Incidents")
|
|
| 90 |
|
| 91 |
text_input = st.text_area("Enter your text here", height=100)
|
| 92 |
|
| 93 |
-
if text_input:
|
| 94 |
output = model(text_input)
|
| 95 |
st.subheader("Event Nuggets")
|
| 96 |
annotate("nugget")
|
|
|
|
| 90 |
|
| 91 |
text_input = st.text_area("Enter your text here", height=100)
|
| 92 |
|
| 93 |
+
if text_input or st.button('Apply'):
|
| 94 |
output = model(text_input)
|
| 95 |
st.subheader("Event Nuggets")
|
| 96 |
annotate("nugget")
|