Skip to content

Commit

Permalink
Update hierarchy generation notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
kklemon committed Sep 25, 2024
1 parent b23f985 commit 5c00a01
Showing 1 changed file with 7 additions and 29 deletions.
36 changes: 7 additions & 29 deletions notebooks/hierarchy_inference.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"execution_count": null,
"metadata": {
"ExecuteTime": {
"end_time": "2024-07-10T08:19:11.454412300Z",
Expand All @@ -18,7 +18,7 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": 9,
"metadata": {
"ExecuteTime": {
"end_time": "2024-07-10T08:19:19.147150500Z",
Expand Down Expand Up @@ -102,7 +102,7 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": 12,
"metadata": {
"ExecuteTime": {
"end_time": "2024-07-10T08:19:40.974091600Z",
Expand All @@ -123,7 +123,7 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": 13,
"metadata": {
"ExecuteTime": {
"end_time": "2024-07-10T08:20:42.204256700Z",
Expand Down Expand Up @@ -181,18 +181,17 @@
"metadata": {},
"outputs": [],
"source": [
"html = output.conversation.display_html()"
"# html = output.conversation.display_html()"
]
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": 16,
"metadata": {},
"outputs": [],
"source": [
"hierarchy = output.hierarchy\n",
"hierarchy_svg_visualizer = InteractiveSVGHierarchyVisualizer(hierarchy, cover_frame)\n",
"# display(SVG(data=hierarchy_svg_visualizer.svg.to_string()))"
"hierarchy_svg_visualizer = InteractiveSVGHierarchyVisualizer(hierarchy, cover_frame)"
]
},
{
Expand All @@ -211,27 +210,6 @@
")\n",
"display(IFrameFromSrc(hierarchy_html_visualizer.html_content, width=1200, height=900))"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand Down

0 comments on commit 5c00a01

Please sign in to comment.