harishB97 commited on
Commit
20ea453
·
verified ·
1 Parent(s): 6e36aae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -0
app.py CHANGED
@@ -1,6 +1,12 @@
1
  import igraph as ig
2
  import plotly.graph_objects as go
3
 
 
 
 
 
 
 
4
  # Let's create a list of edges with a binary tree structure up to depth 6
5
  # A binary tree has a structure where each node has two children, often referred to as left and right child.
6
  # We will assume that the topmost node (root) has an index 0.
 
1
  import igraph as ig
2
  import plotly.graph_objects as go
3
 
4
+ import gradio as gr
5
+ import plotly.graph_objects as go
6
+ import os
7
+ from collections import defaultdict
8
+ import igraph as ig
9
+
10
  # Let's create a list of edges with a binary tree structure up to depth 6
11
  # A binary tree has a structure where each node has two children, often referred to as left and right child.
12
  # We will assume that the topmost node (root) has an index 0.