Peijie commited on
Commit
5f0290e
1 Parent(s): 98ff248

fix minor import bug

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -208,7 +208,7 @@ blank_image = np.array(Image.open('data/images/final.png').convert('RGB'))
208
  PART_IMAGES_DICT = {file_name: load_part_images(file_name) for file_name in IMAGE_FILE_LIST}
209
 
210
  # --- Gradio Functions ---
211
- def update_selected_image(event: gr.electData):
212
  image_height = 400
213
  index = event.index
214
 
 
208
  PART_IMAGES_DICT = {file_name: load_part_images(file_name) for file_name in IMAGE_FILE_LIST}
209
 
210
  # --- Gradio Functions ---
211
+ def update_selected_image(event: gr.SelectData):
212
  image_height = 400
213
  index = event.index
214