ritwikraha
commited on
Commit
·
7ecc0dd
1
Parent(s):
8871e44
fix: changing step value to float
Browse files
app.py
CHANGED
@@ -246,8 +246,10 @@ def show_rendered_image(r,theta,phi):
|
|
246 |
st.title('NeRF:Neural Radiance Fields')
|
247 |
# set the values of r theta phi
|
248 |
r = -30.0
|
249 |
-
theta = st.slider('Enter a value for theta', 0.0, 360.0, 1)
|
250 |
-
|
|
|
|
|
251 |
|
252 |
color,depth = show_rendered_image(r,theta,phi)
|
253 |
|
|
|
246 |
st.title('NeRF:Neural Radiance Fields')
|
247 |
# set the values of r theta phi
|
248 |
r = -30.0
|
249 |
+
theta = st.slider('Enter a value for theta', 0.0, 360.0, 1.0)
|
250 |
+
st.write('Theta:', theta)
|
251 |
+
phi = st.slider('Enter a value for phi', 0.0, 360.0, 1.0)
|
252 |
+
st.write('Phi:', phi)
|
253 |
|
254 |
color,depth = show_rendered_image(r,theta,phi)
|
255 |
|