Update app.py
Browse files
app.py
CHANGED
@@ -107,6 +107,8 @@ with gr.Blocks() as demo:
|
|
107 |
dropdown_1_nodename.change(get_protoIDs, dropdown_1_nodename, dropdown_1_protos)
|
108 |
dropdown_1_protos.change(get_image, [dropdown_1_nodename, dropdown_1_protos], image_output_1)
|
109 |
dropdown_2_nodename.change(get_protoIDs, dropdown_2_nodename, dropdown_2_protos)
|
|
|
|
|
110 |
|
111 |
# Initialize with placeholder images
|
112 |
# image_output_1.update(display_image_based_on_dropdown_1)
|
|
|
107 |
dropdown_1_nodename.change(get_protoIDs, dropdown_1_nodename, dropdown_1_protos)
|
108 |
dropdown_1_protos.change(get_image, [dropdown_1_nodename, dropdown_1_protos], image_output_1)
|
109 |
dropdown_2_nodename.change(get_protoIDs, dropdown_2_nodename, dropdown_2_protos)
|
110 |
+
dropdown_2_protos.change(get_image, [dropdown_2_nodename, dropdown_2_protos], image_output_2)
|
111 |
+
|
112 |
|
113 |
# Initialize with placeholder images
|
114 |
# image_output_1.update(display_image_based_on_dropdown_1)
|