Spaces:
Build error
Build error
tmp
Browse files
app.py
CHANGED
@@ -152,7 +152,7 @@ def generate_matching_superfeatures(im1, im2, scale_id=6, threshold=50, sf_ids='
|
|
152 |
# # Now we can save it to a numpy array.
|
153 |
# data = np.frombuffer(fig.canvas.tostring_rgb(), dtype=np.uint8)
|
154 |
# data = data.reshape(fig.canvas.get_width_height()[::-1] + (3,))
|
155 |
-
return fig1, fig2
|
156 |
|
157 |
|
158 |
# GRADIO APP
|
|
|
152 |
# # Now we can save it to a numpy array.
|
153 |
# data = np.frombuffer(fig.canvas.tostring_rgb(), dtype=np.uint8)
|
154 |
# data = data.reshape(fig.canvas.get_width_height()[::-1] + (3,))
|
155 |
+
return fig1, fig2, ','.join(map(str, sf_idx_))
|
156 |
|
157 |
|
158 |
# GRADIO APP
|