LPX55 commited on
Commit
eacd5d0
·
1 Parent(s): ab596ee
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -11,6 +11,9 @@ from gradio_image_prompter import ImagePrompter
11
  from PIL import Image, ImageDraw
12
  import numpy as np
13
  from sam2.sam2_image_predictor import SAM2ImagePredictor
 
 
 
14
 
15
  # class SAM2PredictorSingleton:
16
  # _instance = None
 
11
  from PIL import Image, ImageDraw
12
  import numpy as np
13
  from sam2.sam2_image_predictor import SAM2ImagePredictor
14
+ import subprocess
15
+
16
+ subprocess.run("rm -rf /data-nvme/zerogpu-offload/*", env={}, shell=True)
17
 
18
  # class SAM2PredictorSingleton:
19
  # _instance = None