Spaces:
Running
on
Zero
Running
on
Zero
20 -> 30 seconds for spaces.GPU
Browse files
app.py
CHANGED
@@ -168,7 +168,7 @@ def run_point_cloud(in_mesh_path, seed):
|
|
168 |
raise gr.Error(traceback.format_exc())
|
169 |
|
170 |
|
171 |
-
@spaces.GPU(duration=
|
172 |
def run_cad_recode(point_cloud):
|
173 |
try:
|
174 |
input_ids = [tokenizer.pad_token_id] * len(point_cloud) + [tokenizer('<|im_start|>')['input_ids'][0]]
|
|
|
168 |
raise gr.Error(traceback.format_exc())
|
169 |
|
170 |
|
171 |
+
@spaces.GPU(duration=30)
|
172 |
def run_cad_recode(point_cloud):
|
173 |
try:
|
174 |
input_ids = [tokenizer.pad_token_id] * len(point_cloud) + [tokenizer('<|im_start|>')['input_ids'][0]]
|