cpi-connect commited on
Commit
ec68b63
1 Parent(s): 2d69a68

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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")