Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -37,7 +37,7 @@ def infer(video_frames, masks_frames, project_name):
|
|
| 37 |
os.makedirs(my_masks_directory)
|
| 38 |
|
| 39 |
# Assuming 'images' is a list of image file paths
|
| 40 |
-
for idx, image in enumerate(
|
| 41 |
# Get the base file name (without path) from the original location
|
| 42 |
image_name = os.path.basename(image.name)
|
| 43 |
|
|
|
|
| 37 |
os.makedirs(my_masks_directory)
|
| 38 |
|
| 39 |
# Assuming 'images' is a list of image file paths
|
| 40 |
+
for idx, image in enumerate(masks_frames):
|
| 41 |
# Get the base file name (without path) from the original location
|
| 42 |
image_name = os.path.basename(image.name)
|
| 43 |
|