From 5c00a0184f4aa96cb31a01599c8199d09bdff9c2 Mon Sep 17 00:00:00 2001 From: Kristian Klemon Date: Wed, 25 Sep 2024 23:00:15 +0200 Subject: [PATCH] Update hierarchy generation notebook --- notebooks/hierarchy_inference.ipynb | 36 ++++++----------------------- 1 file changed, 7 insertions(+), 29 deletions(-) diff --git a/notebooks/hierarchy_inference.ipynb b/notebooks/hierarchy_inference.ipynb index ee51456..ccbe5d6 100644 --- a/notebooks/hierarchy_inference.ipynb +++ b/notebooks/hierarchy_inference.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "code", - "execution_count": 1, + "execution_count": null, "metadata": { "ExecuteTime": { "end_time": "2024-07-10T08:19:11.454412300Z", @@ -18,7 +18,7 @@ }, { "cell_type": "code", - "execution_count": 2, + "execution_count": 9, "metadata": { "ExecuteTime": { "end_time": "2024-07-10T08:19:19.147150500Z", @@ -102,7 +102,7 @@ }, { "cell_type": "code", - "execution_count": 5, + "execution_count": 12, "metadata": { "ExecuteTime": { "end_time": "2024-07-10T08:19:40.974091600Z", @@ -123,7 +123,7 @@ }, { "cell_type": "code", - "execution_count": 6, + "execution_count": 13, "metadata": { "ExecuteTime": { "end_time": "2024-07-10T08:20:42.204256700Z", @@ -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)" ] }, { @@ -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": {