ritwikraha
commited on
Commit
·
da848cd
1
Parent(s):
8253746
check
Browse files
app.py
CHANGED
|
@@ -248,7 +248,7 @@ st.title('NeRF:Neural Radiance Fields')
|
|
| 248 |
# set the values of r theta phi
|
| 249 |
r = 4.0
|
| 250 |
theta = st.slider('Enter a value for theta',min_value = 0.0,max_value = 360.0)
|
| 251 |
-
phi =
|
| 252 |
|
| 253 |
|
| 254 |
color,depth = show_rendered_image(r,theta,phi)
|
|
@@ -259,7 +259,7 @@ color = tf.keras.utils.array_to_img(color)
|
|
| 259 |
# im = ax.imshow(color)
|
| 260 |
# st.pyplot(fig)
|
| 261 |
|
| 262 |
-
st.image(color, caption = "Color",clamp = True, width =
|
| 263 |
#st.image(depth, caption = "Depth",clamp = True, width = 200)
|
| 264 |
|
| 265 |
|
|
|
|
| 248 |
# set the values of r theta phi
|
| 249 |
r = 4.0
|
| 250 |
theta = st.slider('Enter a value for theta',min_value = 0.0,max_value = 360.0)
|
| 251 |
+
phi = -30.0
|
| 252 |
|
| 253 |
|
| 254 |
color,depth = show_rendered_image(r,theta,phi)
|
|
|
|
| 259 |
# im = ax.imshow(color)
|
| 260 |
# st.pyplot(fig)
|
| 261 |
|
| 262 |
+
st.image(color, caption = "Color",clamp = True, width = 1000)
|
| 263 |
#st.image(depth, caption = "Depth",clamp = True, width = 200)
|
| 264 |
|
| 265 |
|