alexlau commited on
Commit
b26d474
1 Parent(s): ded0035

update the pose param range in UI

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ model, state = fetch_model()
38
  pi = math.pi
39
  st.sidebar.image("images/diet-nerf.png", width=310)
40
  st.sidebar.header('SELECT YOUR VIEW DIRECTION')
41
- theta = st.sidebar.slider("Theta", min_value=0., max_value=2.*pi,
42
  step=0.5, value=0.)
43
  phi = st.sidebar.slider("Phi", min_value=0., max_value=0.5*pi,
44
  step=0.1, value=1.)
 
38
  pi = math.pi
39
  st.sidebar.image("images/diet-nerf.png", width=310)
40
  st.sidebar.header('SELECT YOUR VIEW DIRECTION')
41
+ theta = st.sidebar.slider("Theta", min_value=-pi, max_value=pi,
42
  step=0.5, value=0.)
43
  phi = st.sidebar.slider("Phi", min_value=0., max_value=0.5*pi,
44
  step=0.1, value=1.)