Update app.py
Browse files
app.py
CHANGED
|
@@ -253,6 +253,9 @@ def generate_splats_from_images(image_paths, session_id=None):
|
|
| 253 |
image_paths = processed_image_paths
|
| 254 |
print(image_paths)
|
| 255 |
|
|
|
|
|
|
|
|
|
|
| 256 |
if session_id is None:
|
| 257 |
session_id = uuid.uuid4().hex
|
| 258 |
|
|
|
|
| 253 |
image_paths = processed_image_paths
|
| 254 |
print(image_paths)
|
| 255 |
|
| 256 |
+
if len(image_paths) == 1:
|
| 257 |
+
image_paths.append(image_paths[0])
|
| 258 |
+
|
| 259 |
if session_id is None:
|
| 260 |
session_id = uuid.uuid4().hex
|
| 261 |
|