Spaces:
Sleeping
Sleeping
add event-identifier
Browse files
app.py
CHANGED
@@ -150,18 +150,15 @@ def annotateEvents(text,squad,window):
|
|
150 |
|
151 |
st.title('Extract Events')
|
152 |
|
153 |
-
|
154 |
|
155 |
-
option = st.selectbox(
|
156 |
-
'Select examples',
|
157 |
-
options)
|
158 |
#option = options [index]
|
159 |
line = st.text_area("Insert Text",option)
|
160 |
|
161 |
st.button('Run')
|
162 |
|
163 |
|
164 |
-
st.sidebar.write("## Hyperparameters :gear:")
|
165 |
window = 1
|
166 |
if line != "":
|
167 |
st.header("Triggers:")
|
|
|
150 |
|
151 |
st.title('Extract Events')
|
152 |
|
153 |
+
option = "O presidente da Federação Haitiana de Futebol, Yves Jean-Bart, foi banido para sempre de toda a atividade ligada ao futebol, por ter sido considerado culpado de abuso sexual sistemático de jogadoras, anunciou hoje a FIFA."
|
154 |
|
|
|
|
|
|
|
155 |
#option = options [index]
|
156 |
line = st.text_area("Insert Text",option)
|
157 |
|
158 |
st.button('Run')
|
159 |
|
160 |
|
161 |
+
#st.sidebar.write("## Hyperparameters :gear:")
|
162 |
window = 1
|
163 |
if line != "":
|
164 |
st.header("Triggers:")
|