Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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 =
|
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 |
-
|
180 |
123,
|
181 |
1024,
|
182 |
50,
|
183 |
7.0,
|
184 |
1e9,
|
185 |
False,
|
186 |
-
|
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 |
],
|