Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,6 +18,8 @@ from mini_dust3r.utils.misc import (
|
|
| 18 |
transpose_to_landscape,
|
| 19 |
)
|
| 20 |
|
|
|
|
|
|
|
| 21 |
from catmlp_dpt_head import Cat_MLP_LocalFeatures_DPT_Pts3d
|
| 22 |
|
| 23 |
DEVICE = "cuda" if torch.cuda.is_available() else "CPU"
|
|
|
|
| 18 |
transpose_to_landscape,
|
| 19 |
)
|
| 20 |
|
| 21 |
+
import os
|
| 22 |
+
from mini_dust3r.model import load_model
|
| 23 |
from catmlp_dpt_head import Cat_MLP_LocalFeatures_DPT_Pts3d
|
| 24 |
|
| 25 |
DEVICE = "cuda" if torch.cuda.is_available() else "CPU"
|