ritwikraha
commited on
Commit
·
8253746
1
Parent(s):
056fee9
check
Browse files
app.py
CHANGED
|
@@ -253,14 +253,14 @@ phi = st.slider('Enter a value for phi',min_value = 0.0,max_value = 360.0)
|
|
| 253 |
|
| 254 |
color,depth = show_rendered_image(r,theta,phi)
|
| 255 |
color = tf.keras.utils.array_to_img(color)
|
| 256 |
-
depth = tf.keras.utils.array_to_img(depth)
|
| 257 |
|
| 258 |
# fig, ax = plt.subplots()
|
| 259 |
# im = ax.imshow(color)
|
| 260 |
# st.pyplot(fig)
|
| 261 |
|
| 262 |
st.image(color, caption = "Color",clamp = True, width = 200)
|
| 263 |
-
st.image(depth, caption = "Depth",clamp = True, width = 200)
|
| 264 |
|
| 265 |
|
| 266 |
|
|
|
|
| 253 |
|
| 254 |
color,depth = show_rendered_image(r,theta,phi)
|
| 255 |
color = tf.keras.utils.array_to_img(color)
|
| 256 |
+
#depth = tf.keras.utils.array_to_img(depth)
|
| 257 |
|
| 258 |
# fig, ax = plt.subplots()
|
| 259 |
# im = ax.imshow(color)
|
| 260 |
# st.pyplot(fig)
|
| 261 |
|
| 262 |
st.image(color, caption = "Color",clamp = True, width = 200)
|
| 263 |
+
#st.image(depth, caption = "Depth",clamp = True, width = 200)
|
| 264 |
|
| 265 |
|
| 266 |
|