emanuelaboros commited on
Commit
20df3ed
Β·
1 Parent(s): 789d78c

add requests

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -103,7 +103,7 @@ def disambiguate_sentence(sentence):
103
  # Create an HTML output with a clickable link
104
  entity_info = f"""<div>
105
  <strong>Entity:</strong> {linked_entity['surface']} <br>
106
- <strong>Label:</strong> {linked_entity['title']} <br>
107
  <strong>QID:</strong> {linked_entity['wkd_id']} <br>
108
  <a href="{linked_entity['url']}" target="_blank">Wikipedia Page</a>
109
  </div>
 
103
  # Create an HTML output with a clickable link
104
  entity_info = f"""<div>
105
  <strong>Entity:</strong> {linked_entity['surface']} <br>
106
+ <strong>Label:</strong> {linked_entity['label']} <br>
107
  <strong>QID:</strong> {linked_entity['wkd_id']} <br>
108
  <a href="{linked_entity['url']}" target="_blank">Wikipedia Page</a>
109
  </div>