Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -168,7 +168,7 @@ def predict(_chatbot,task_history,viewer_voxel,viewer_mesh,task_new,seed,top_k,t
|
|
168 |
)
|
169 |
glb.export(f"temper.glb")
|
170 |
print("processing mesh over...")
|
171 |
-
yield _chatbot,fig,"temper.glb"
|
172 |
else:
|
173 |
# image to 3d
|
174 |
with torch.no_grad():
|
@@ -314,8 +314,8 @@ def make_pointcloud_figure(verts,rotate=False):
|
|
314 |
)
|
315 |
)
|
316 |
layout = go.Layout(
|
317 |
-
width =
|
318 |
-
height=
|
319 |
scene=dict(
|
320 |
xaxis=dict(visible=False),
|
321 |
yaxis=dict(visible=False),
|
|
|
168 |
)
|
169 |
glb.export(f"temper.glb")
|
170 |
print("processing mesh over...")
|
171 |
+
yield _chatbot,fig,"temper.glb",task_new
|
172 |
else:
|
173 |
# image to 3d
|
174 |
with torch.no_grad():
|
|
|
314 |
)
|
315 |
)
|
316 |
layout = go.Layout(
|
317 |
+
width =500,
|
318 |
+
height=300,
|
319 |
scene=dict(
|
320 |
xaxis=dict(visible=False),
|
321 |
yaxis=dict(visible=False),
|