Spaces:
Paused
Paused
Upload app.py with huggingface_hub
Browse files
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 |
-
|
|
|
|
| 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}")
|