Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -73,7 +73,7 @@ with gr.Blocks() as iface:
|
|
73 |
stitch_button.click(
|
74 |
stitch_images,
|
75 |
inputs=[image_mode, image1, image2, images, detector, matcher, estimator, blender_type, crop, wave_correct],
|
76 |
-
outputs=[output_image
|
77 |
)
|
78 |
|
79 |
gr.Examples(
|
@@ -82,6 +82,7 @@ with gr.Blocks() as iface:
|
|
82 |
["Multiple Images", None, None, ["weir_1.jpg", "weir_2.jpg", "weir_3.jpg"], "orb", "homography", "homography", "multiband", True, "horiz"]
|
83 |
],
|
84 |
inputs=[image_mode, image1, image2, images, detector, matcher, estimator, blender_type, crop, wave_correct],
|
|
|
85 |
)
|
86 |
|
87 |
iface.launch()
|
|
|
73 |
stitch_button.click(
|
74 |
stitch_images,
|
75 |
inputs=[image_mode, image1, image2, images, detector, matcher, estimator, blender_type, crop, wave_correct],
|
76 |
+
outputs=[output_image]
|
77 |
)
|
78 |
|
79 |
gr.Examples(
|
|
|
82 |
["Multiple Images", None, None, ["weir_1.jpg", "weir_2.jpg", "weir_3.jpg"], "orb", "homography", "homography", "multiband", True, "horiz"]
|
83 |
],
|
84 |
inputs=[image_mode, image1, image2, images, detector, matcher, estimator, blender_type, crop, wave_correct],
|
85 |
+
cache_examples = True,
|
86 |
)
|
87 |
|
88 |
iface.launch()
|