merve HF staff commited on
Commit
bb8a0ae
1 Parent(s): bae8433

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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"