Spaces:
Runtime error
Runtime error
Update
Browse files
app.py
CHANGED
@@ -108,7 +108,7 @@ def run(
|
|
108 |
with tarfile.TarFile(tarball_path) as tar_file:
|
109 |
for index in range(start_index, start_index + num):
|
110 |
if index >= len(image_indices):
|
111 |
-
seeds.append(
|
112 |
images.append(dummy)
|
113 |
continue
|
114 |
image_index = image_indices[index]
|
|
|
108 |
with tarfile.TarFile(tarball_path) as tar_file:
|
109 |
for index in range(start_index, start_index + num):
|
110 |
if index >= len(image_indices):
|
111 |
+
seeds.append(np.nan)
|
112 |
images.append(dummy)
|
113 |
continue
|
114 |
image_index = image_indices[index]
|