Update app.py
Browse files
app.py
CHANGED
@@ -199,9 +199,12 @@ def get_image(nodename, protoID):
|
|
199 |
|
200 |
|
201 |
with gr.Blocks() as demo:
|
202 |
-
|
203 |
-
|
204 |
-
|
|
|
|
|
|
|
205 |
|
206 |
with gr.Row():
|
207 |
with gr.Column():
|
|
|
199 |
|
200 |
|
201 |
with gr.Blocks() as demo:
|
202 |
+
|
203 |
+
imgpath = species_to_imgpath['bird']
|
204 |
+
root = get_tree(imgpath)
|
205 |
+
gr.Markdown("## Interactive Tree and Image Display")
|
206 |
+
with gr.Row():
|
207 |
+
tree_output = gr.Plot(display_tree, input=root) # Connect the function directly
|
208 |
|
209 |
with gr.Row():
|
210 |
with gr.Column():
|