Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -121,7 +121,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 121 |
return None
|
| 122 |
|
| 123 |
pil_image = Image.fromarray(image.astype('uint8'))
|
| 124 |
-
depth_pred, depth_colored, normal_pred, normal_colored = predict(pil_image, processing_res_choice
|
| 125 |
|
| 126 |
# Save depth and normals npy data
|
| 127 |
tmp_npy_depth = tempfile.NamedTemporaryFile(suffix='.npy', delete=False)
|
|
|
|
| 121 |
return None
|
| 122 |
|
| 123 |
pil_image = Image.fromarray(image.astype('uint8'))
|
| 124 |
+
depth_pred, depth_colored, normal_pred, normal_colored = predict(pil_image, processing_res_choice)
|
| 125 |
|
| 126 |
# Save depth and normals npy data
|
| 127 |
tmp_npy_depth = tempfile.NamedTemporaryFile(suffix='.npy', delete=False)
|