harishB97 commited on
Commit
28e2fd0
·
verified ·
1 Parent(s): 81983b3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -3
app.py CHANGED
@@ -199,9 +199,12 @@ def get_image(nodename, protoID):
199
 
200
 
201
  with gr.Blocks() as demo:
202
- # gr.Markdown("## Interactive Tree and Image Display")
203
- # with gr.Row():
204
- # tree_output = gr.Plot(display_tree) # Connect the function directly
 
 
 
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():