Spaces:
Running
on
Zero
Running
on
Zero
fix minor import bug
Browse files
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.
|
| 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 |
|