Spaces:
Sleeping
Sleeping
02alexander
commited on
Commit
•
304e045
1
Parent(s):
2293af8
use renderer
Browse files
app.py
CHANGED
@@ -216,7 +216,7 @@ def _make3d(output_queue: SimpleQueue, images: Image.Image):
|
|
216 |
print(f'type(images)={type(images)}')
|
217 |
global model
|
218 |
if IS_FLEXICUBES:
|
219 |
-
model.init_flexicubes_geometry(device, use_renderer=
|
220 |
model = model.eval()
|
221 |
|
222 |
images = np.asarray(images, dtype=np.float32) / 255.0
|
|
|
216 |
print(f'type(images)={type(images)}')
|
217 |
global model
|
218 |
if IS_FLEXICUBES:
|
219 |
+
model.init_flexicubes_geometry(device, use_renderer=True)
|
220 |
model = model.eval()
|
221 |
|
222 |
images = np.asarray(images, dtype=np.float32) / 255.0
|