Aluren commited on
Commit
ca3effd
·
verified ·
1 Parent(s): 838de7f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
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": os.path.join(abs_path,"assets/image/100.png"),
39
  },
40
- os.path.join(abs_path,"assets/model/100.glb"),
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
  ]