Skip to content

Commit

Permalink
added missing angle bracket (#252)
Browse files Browse the repository at this point in the history
  • Loading branch information
toolittlecakes authored Dec 5, 2023
1 parent aa62d19 commit af6543c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/examples/entity_resolution.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ from graphviz import Digraph
def generate_html_label(entity: Entity) -> str:
rows = [f"<tr><td>{prop.key}</td><td>{prop.resolved_absolute_value}</td></tr>" for prop in entity.properties]
table_rows = "".join(rows)
return f"<table border='0' cellborder='1' cellspacing='0'><tr><td colspan='2'><b>{entity.entity_title}</b></td></tr>{table_rows}</table>>"
return f"<<table border='0' cellborder='1' cellspacing='0'><tr><td colspan='2'><b>{entity.entity_title}</b></td></tr>{table_rows}</table>>"

def generate_graph(data: DocumentExtraction):
dot = Digraph(comment="Entity Graph", node_attr={"shape": "plaintext"})
Expand Down

0 comments on commit af6543c

Please sign in to comment.