CarlosMalaga
commited on
Commit
•
675daa7
1
Parent(s):
1aff14a
Update app.py
Browse files
app.py
CHANGED
@@ -399,7 +399,7 @@ def run_client():
|
|
399 |
st.error("Please enter some text.")
|
400 |
|
401 |
# Ensure the candidates list is displayed even after interactions
|
402 |
-
if st.session_state.candidates:
|
403 |
dict_of_ents_candidates, options_candidates = get_retriever_annotations_candidates(text, st.session_state.candidates)
|
404 |
st.markdown("<h2 style='color: black;'>Possible Candidates:</h2>", unsafe_allow_html=True)
|
405 |
for candidate in dict_of_ents_candidates["ents"]:
|
|
|
399 |
st.error("Please enter some text.")
|
400 |
|
401 |
# Ensure the candidates list is displayed even after interactions
|
402 |
+
if st.session_state.candidates and analysis_type != "Entity Linking":
|
403 |
dict_of_ents_candidates, options_candidates = get_retriever_annotations_candidates(text, st.session_state.candidates)
|
404 |
st.markdown("<h2 style='color: black;'>Possible Candidates:</h2>", unsafe_allow_html=True)
|
405 |
for candidate in dict_of_ents_candidates["ents"]:
|