murphylmf commited on
Commit
8a80622
·
1 Parent(s): db594b9
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -53,7 +53,7 @@ def install_sam2():
53
  with open(setup_path, "w") as f:
54
  f.write(content)
55
 
56
- subprocess.run(["pip", "install", "."], cwd="_tmp_sam2", check=True)
57
  # Cleanup
58
  shutil.rmtree("_tmp_sam2")
59
  print("SAM 2 installed successfully.")
 
53
  with open(setup_path, "w") as f:
54
  f.write(content)
55
 
56
+ subprocess.run(["pip", "install", "--no-build-isolation", "-v", "."], cwd="_tmp_sam2", check=True)
57
  # Cleanup
58
  shutil.rmtree("_tmp_sam2")
59
  print("SAM 2 installed successfully.")