Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -28,6 +28,7 @@ def infer(image):
|
|
| 28 |
)
|
| 29 |
path = "./" + uuid.uuid4().hex + ".png"
|
| 30 |
plt.savefig(path)
|
|
|
|
| 31 |
return path
|
| 32 |
|
| 33 |
title = "SuperPoint"
|
|
|
|
| 28 |
)
|
| 29 |
path = "./" + uuid.uuid4().hex + ".png"
|
| 30 |
plt.savefig(path)
|
| 31 |
+
plt.close()
|
| 32 |
return path
|
| 33 |
|
| 34 |
title = "SuperPoint"
|