Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ from collections import defaultdict
|
|
5 |
|
6 |
# print(os.pwd())
|
7 |
|
8 |
-
species_to_imgpath = {'bird': './
|
9 |
|
10 |
# this has to be there for each species
|
11 |
imgname_to_filepath = {} # this ignores the extension such as .png
|
@@ -88,10 +88,9 @@ def get_image(nodename, protoID):
|
|
88 |
|
89 |
|
90 |
with gr.Blocks() as demo:
|
91 |
-
gr.Markdown("## Interactive Tree and Image Display")
|
92 |
-
|
93 |
-
|
94 |
-
tree_output = gr.Plot(display_tree) # Connect the function directly
|
95 |
|
96 |
with gr.Row():
|
97 |
with gr.Column():
|
|
|
5 |
|
6 |
# print(os.pwd())
|
7 |
|
8 |
+
species_to_imgpath = {'bird': './descendent_specific_topk_heatmap_withbb_ep=last_024+051'}
|
9 |
|
10 |
# this has to be there for each species
|
11 |
imgname_to_filepath = {} # this ignores the extension such as .png
|
|
|
88 |
|
89 |
|
90 |
with gr.Blocks() as demo:
|
91 |
+
# gr.Markdown("## Interactive Tree and Image Display")
|
92 |
+
# with gr.Row():
|
93 |
+
# tree_output = gr.Plot(display_tree) # Connect the function directly
|
|
|
94 |
|
95 |
with gr.Row():
|
96 |
with gr.Column():
|