alexnasa commited on
Commit
d37df73
·
verified ·
1 Parent(s): e20f68b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -96,7 +96,7 @@ pipe: PartCrafterPipeline = PartCrafterPipeline.from_pretrained(partcrafter_weig
96
  @spaces.GPU()
97
  @torch.no_grad()
98
  def run_triposg(image_path: str,
99
- num_parts: int = 10,
100
  seed: int = 123,
101
  num_tokens: int = 1024,
102
  num_inference_steps: int = 50,
@@ -176,14 +176,14 @@ def build_demo():
176
  examples=[
177
  [
178
  "examples/np10_cc486e491a2c499f9fd2aad2b02c6ccb.png",
179
- 10,
180
  123,
181
  1024,
182
  50,
183
  7.0,
184
  1e9,
185
  False,
186
- False
187
  ],
188
 
189
  ],
 
96
  @spaces.GPU()
97
  @torch.no_grad()
98
  def run_triposg(image_path: str,
99
+ num_parts: int = 1,
100
  seed: int = 123,
101
  num_tokens: int = 1024,
102
  num_inference_steps: int = 50,
 
176
  examples=[
177
  [
178
  "examples/np10_cc486e491a2c499f9fd2aad2b02c6ccb.png",
179
+ 1,
180
  123,
181
  1024,
182
  50,
183
  7.0,
184
  1e9,
185
  False,
186
+ True
187
  ],
188
 
189
  ],