Spaces:
Runtime error
Runtime error
jens
commited on
Commit
·
62a1e0a
1
Parent(s):
7598e8a
fix
Browse files- inference.py +2 -2
inference.py
CHANGED
|
@@ -33,8 +33,8 @@ class DepthPredictor:
|
|
| 33 |
|
| 34 |
output = prediction.cpu().numpy()
|
| 35 |
formatted = (output * 255 / np.max(output)).astype('uint8')
|
| 36 |
-
img = Image.fromarray(formatted)
|
| 37 |
-
return
|
| 38 |
|
| 39 |
|
| 40 |
|
|
|
|
| 33 |
|
| 34 |
output = prediction.cpu().numpy()
|
| 35 |
formatted = (output * 255 / np.max(output)).astype('uint8')
|
| 36 |
+
#img = Image.fromarray(formatted)
|
| 37 |
+
return formatted
|
| 38 |
|
| 39 |
|
| 40 |
|