Update app.py
Browse files
app.py
CHANGED
|
@@ -204,7 +204,7 @@ with gr.Blocks() as demo:
|
|
| 204 |
root = get_tree(imgpath)
|
| 205 |
gr.Markdown("## Interactive Tree and Image Display")
|
| 206 |
with gr.Row():
|
| 207 |
-
tree_output = gr.Plot(display_tree,
|
| 208 |
|
| 209 |
with gr.Row():
|
| 210 |
with gr.Column():
|
|
|
|
| 204 |
root = get_tree(imgpath)
|
| 205 |
gr.Markdown("## Interactive Tree and Image Display")
|
| 206 |
with gr.Row():
|
| 207 |
+
tree_output = gr.Plot(display_tree, root=root) # Connect the function directly
|
| 208 |
|
| 209 |
with gr.Row():
|
| 210 |
with gr.Column():
|