fffiloni commited on
Commit
d87b25b
·
verified ·
1 Parent(s): 2805e7d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -35,14 +35,14 @@ import sys
35
  sys.path.append(HOLOPART_CODE_DIR)
36
  sys.path.append(os.path.join(HOLOPART_CODE_DIR, "scripts"))
37
 
38
- """
39
  EXAMPLES = [
40
  ["./holopart/assets/example_data/000.glb", "./holopart/assets/example_data/000.png"],
41
  ["./holopart/assets/example_data/001.glb", "./holopart/assets/example_data/001.png"],
42
  ["./holopart/assets/example_data/002.glb", "./holopart/assets/example_data/002.png"],
43
  ["./holopart/assets/example_data/003.glb", "./holopart/assets/example_data/003.png"],
44
  ]
45
- """
46
 
47
  HEADER = """
48
  # 🔮 Decompose a 3D shape into complete parts with [HoloPart](https://github.com/VAST-AI-Research/HoloPart).
@@ -221,7 +221,7 @@ with gr.Blocks(title="HoloPart") as demo:
221
  model_output = gr.Model3D(label="Decomposed GLB", interactive=False)
222
  exploded_parts_output = gr.Model3D(label="Exploded Parts", interactive=False)
223
 
224
- """
225
  with gr.Row():
226
  examples = gr.Examples(
227
  examples=EXAMPLES,
@@ -230,7 +230,7 @@ with gr.Blocks(title="HoloPart") as demo:
230
  outputs=[model_output, exploded_parts_output],
231
  cache_examples=True,
232
  )
233
- """
234
 
235
 
236
  gen_button.click(
 
35
  sys.path.append(HOLOPART_CODE_DIR)
36
  sys.path.append(os.path.join(HOLOPART_CODE_DIR, "scripts"))
37
 
38
+
39
  EXAMPLES = [
40
  ["./holopart/assets/example_data/000.glb", "./holopart/assets/example_data/000.png"],
41
  ["./holopart/assets/example_data/001.glb", "./holopart/assets/example_data/001.png"],
42
  ["./holopart/assets/example_data/002.glb", "./holopart/assets/example_data/002.png"],
43
  ["./holopart/assets/example_data/003.glb", "./holopart/assets/example_data/003.png"],
44
  ]
45
+
46
 
47
  HEADER = """
48
  # 🔮 Decompose a 3D shape into complete parts with [HoloPart](https://github.com/VAST-AI-Research/HoloPart).
 
221
  model_output = gr.Model3D(label="Decomposed GLB", interactive=False)
222
  exploded_parts_output = gr.Model3D(label="Exploded Parts", interactive=False)
223
 
224
+
225
  with gr.Row():
226
  examples = gr.Examples(
227
  examples=EXAMPLES,
 
230
  outputs=[model_output, exploded_parts_output],
231
  cache_examples=True,
232
  )
233
+
234
 
235
 
236
  gen_button.click(