jboth commited on
Commit
a51525f
·
verified ·
1 Parent(s): f0d8a66

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -19,7 +19,8 @@ if os.environ.get("HF_TOKEN"):
19
  # --- Stubs (must be before sam3d imports) ---
20
  STUB_KAOLIN = Path("/home/user/app/kaolin_stub")
21
  STUB_PT3D = Path("/home/user/app/pytorch3d_stub")
22
- for stub in [STUB_KAOLIN, STUB_PT3D]:
 
23
  if stub.exists():
24
  sys.path.insert(0, str(stub))
25
  print(f"Stub added: {stub.name}")
 
19
  # --- Stubs (must be before sam3d imports) ---
20
  STUB_KAOLIN = Path("/home/user/app/kaolin_stub")
21
  STUB_PT3D = Path("/home/user/app/pytorch3d_stub")
22
+ STUB_SPCONV = Path("/home/user/app/spconv_stub")
23
+ for stub in [STUB_KAOLIN, STUB_PT3D, STUB_SPCONV]:
24
  if stub.exists():
25
  sys.path.insert(0, str(stub))
26
  print(f"Stub added: {stub.name}")