Fix: stop displaying `tensor.data` as it can't be serialized
Browse files- index.html +1 -2
index.html
CHANGED
@@ -90,7 +90,6 @@ async def estimate(image_path, depth_scale):
|
|
90 |
tensor_data = {
|
91 |
"dims": tensor.dims,
|
92 |
"type": tensor.type,
|
93 |
-
"data": tensor.data,
|
94 |
"size": tensor.size,
|
95 |
}
|
96 |
|
@@ -143,4 +142,4 @@ trimesh
|
|
143 |
</gradio-requirements>
|
144 |
</gradio-lite>
|
145 |
</body>
|
146 |
-
</html>
|
|
|
90 |
tensor_data = {
|
91 |
"dims": tensor.dims,
|
92 |
"type": tensor.type,
|
|
|
93 |
"size": tensor.size,
|
94 |
}
|
95 |
|
|
|
142 |
</gradio-requirements>
|
143 |
</gradio-lite>
|
144 |
</body>
|
145 |
+
</html>
|