Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions langextract/visualization.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,9 @@ def _extraction_sort_key(extraction):
pos_info_str = f'[{first_extraction.char_interval.start_pos}-{first_extraction.char_interval.end_pos}]'

html_content = textwrap.dedent(f"""
<head>
<meta charset="UTF-8">
</head>
<div class="lx-animated-wrapper">
<div class="lx-attributes-panel">
{legend_html}
Expand Down
Loading