Commit
Β·
a5412ea
1
Parent(s):
20df3ed
update space
Browse files
app.py
CHANGED
@@ -103,8 +103,8 @@ 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>
|
107 |
-
<strong>
|
108 |
<a href="{linked_entity['url']}" target="_blank">Wikipedia Page</a>
|
109 |
</div>
|
110 |
"""
|
@@ -149,7 +149,7 @@ def nel_app_interface():
|
|
149 |
"At Versailles, Marie Antoinette, the Queen of France, was involved in discussions."
|
150 |
],
|
151 |
[
|
152 |
-
"Maximilien Robespierre, a leading member of the National Assembly, also participated."
|
153 |
],
|
154 |
[
|
155 |
"[START] Jean-Jacques Rousseau, the famous philosopher [END], was a significant figure in the debate."
|
|
|
103 |
# Create an HTML output with a clickable link
|
104 |
entity_info = f"""<div>
|
105 |
<strong>Entity:</strong> {linked_entity['surface']} <br>
|
106 |
+
<strong>Wikidata QID:</strong> {linked_entity['wkd_id']} <br>
|
107 |
+
<strong>Wikipedia Title:</strong> {linked_entity['wkpedia_pagename']} <br>
|
108 |
<a href="{linked_entity['url']}" target="_blank">Wikipedia Page</a>
|
109 |
</div>
|
110 |
"""
|
|
|
149 |
"At Versailles, Marie Antoinette, the Queen of France, was involved in discussions."
|
150 |
],
|
151 |
[
|
152 |
+
"[START] Maximilien Robespierre [END], a leading member of the National Assembly, also participated."
|
153 |
],
|
154 |
[
|
155 |
"[START] Jean-Jacques Rousseau, the famous philosopher [END], was a significant figure in the debate."
|