Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -24,7 +24,6 @@ DTYPE = torch.bfloat16
|
|
| 24 |
DEVICE = "cuda" if torch.cuda.is_available() else "cpu"
|
| 25 |
REPO_ID = "VAST-AI/DetailGen3D" # 似乎还没有
|
| 26 |
|
| 27 |
-
abs_path = os.path.abspath(__file__)
|
| 28 |
|
| 29 |
MARKDOWN = """
|
| 30 |
## Generating geometry details guided by reference image with [DetailGen3D](https://detailgen3d.github.io/DetailGen3D/)
|
|
@@ -35,9 +34,9 @@ MARKDOWN = """
|
|
| 35 |
EXAMPLES = [
|
| 36 |
[
|
| 37 |
{
|
| 38 |
-
"image":
|
| 39 |
},
|
| 40 |
-
|
| 41 |
42,
|
| 42 |
False,
|
| 43 |
]
|
|
|
|
| 24 |
DEVICE = "cuda" if torch.cuda.is_available() else "cpu"
|
| 25 |
REPO_ID = "VAST-AI/DetailGen3D" # 似乎还没有
|
| 26 |
|
|
|
|
| 27 |
|
| 28 |
MARKDOWN = """
|
| 29 |
## Generating geometry details guided by reference image with [DetailGen3D](https://detailgen3d.github.io/DetailGen3D/)
|
|
|
|
| 34 |
EXAMPLES = [
|
| 35 |
[
|
| 36 |
{
|
| 37 |
+
"image": "assets/image/100.png",
|
| 38 |
},
|
| 39 |
+
"assets/model/100.glb",
|
| 40 |
42,
|
| 41 |
False,
|
| 42 |
]
|