Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -53,7 +53,7 @@ def gradio_stitch_and_detect(image_files):
|
|
| 53 |
result_image = process_image(image_paths, scale_percent=50)
|
| 54 |
|
| 55 |
if result_image is not None:
|
| 56 |
-
result_image_rgb =
|
| 57 |
pil_image = Image.fromarray(result_image_rgb)
|
| 58 |
pil_image.save("stitched_image.jpg", "JPEG")
|
| 59 |
return pil_image, "stitched_image.jpg"
|
|
|
|
| 53 |
result_image = process_image(image_paths, scale_percent=50)
|
| 54 |
|
| 55 |
if result_image is not None:
|
| 56 |
+
result_image_rgb = result_image
|
| 57 |
pil_image = Image.fromarray(result_image_rgb)
|
| 58 |
pil_image.save("stitched_image.jpg", "JPEG")
|
| 59 |
return pil_image, "stitched_image.jpg"
|