NikosKprl commited on
Commit
bdb3ef6
·
verified ·
1 Parent(s): 9f4f7c4

Update ✨Entity Linking Application✨.py

Browse files
✨Entity Linking Application✨.py CHANGED
@@ -292,7 +292,7 @@ def main_cli():
292
  combi = st.selectbox("Make combinations of each word? (Useful for difficult mentions)", ['Yes', 'No'], index=1, disabled=st.session_state.disabled)
293
  disambi = st.selectbox("Run acronym disambiguation? (Enable it if the mention include an acronym or if it is nested)", ['Yes', 'No'], index=0, disabled=st.session_state.disabled)
294
 
295
- if st.button("Run Entity Linking", key="disabled", disabled=st.session_state.disabled):
296
  if input_sentence_user and input_mention_user:
297
  # check if the mention is in the sentence
298
  if input_mention_user in input_sentence_user:
 
292
  combi = st.selectbox("Make combinations of each word? (Useful for difficult mentions)", ['Yes', 'No'], index=1, disabled=st.session_state.disabled)
293
  disambi = st.selectbox("Run acronym disambiguation? (Enable it if the mention include an acronym or if it is nested)", ['Yes', 'No'], index=0, disabled=st.session_state.disabled)
294
 
295
+ if st.button("Run Entity Linking", key="disabled"):
296
  if input_sentence_user and input_mention_user:
297
  # check if the mention is in the sentence
298
  if input_mention_user in input_sentence_user: