Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -201,7 +201,7 @@ def make3d(images):
|
|
201 |
|
202 |
global model0
|
203 |
if IS_FLEXICUBES:
|
204 |
-
model0.init_flexicubes_geometry(device
|
205 |
model0 = model0.eval()
|
206 |
|
207 |
images = np.asarray(images, dtype=np.float32) / 255.0
|
|
|
201 |
|
202 |
global model0
|
203 |
if IS_FLEXICUBES:
|
204 |
+
model0.init_flexicubes_geometry(device)
|
205 |
model0 = model0.eval()
|
206 |
|
207 |
images = np.asarray(images, dtype=np.float32) / 255.0
|