Spaces:
Build error
Build error
UI Changes
Browse files
app.py
CHANGED
@@ -115,7 +115,7 @@ diet_nerf_model, diet_nerf_state = fetch_diet_nerf_model()
|
|
115 |
|
116 |
st.markdown("")
|
117 |
|
118 |
-
with st.spinner("Rendering
|
119 |
with st.spinner(
|
120 |
"It may take around 1-2 mins. In the meantime, why don't you take a look at our report if you haven't already :)"
|
121 |
):
|
@@ -131,8 +131,9 @@ with st.spinner("Rendering View..."):
|
|
131 |
# n_new_w = int(2 * n_w)
|
132 |
# n_im = n_im.resize(size=(n_new_w, n_new_w))
|
133 |
|
134 |
-
diet_nerf_col, nerf_col = st.beta_columns([1, 1])
|
135 |
-
diet_nerf_col
|
|
|
136 |
diet_nerf_col.image(dn_im, use_column_width=True)
|
137 |
|
138 |
# nerf_col.markdown("""<h4 style='text-align: center'>NeRF</h4>""", unsafe_allow_html=True)
|
|
|
115 |
|
116 |
st.markdown("")
|
117 |
|
118 |
+
with st.spinner("Rendering view..."):
|
119 |
with st.spinner(
|
120 |
"It may take around 1-2 mins. In the meantime, why don't you take a look at our report if you haven't already :)"
|
121 |
):
|
|
|
131 |
# n_new_w = int(2 * n_w)
|
132 |
# n_im = n_im.resize(size=(n_new_w, n_new_w))
|
133 |
|
134 |
+
# diet_nerf_col, nerf_col = st.beta_columns([1, 1])
|
135 |
+
diet_nerf_col = st.beta_columns(1)
|
136 |
+
diet_nerf_col.markdown(f"""<h4 style='text-align: center'>Rendered view for {obj_select}</h4>""", unsafe_allow_html=True)
|
137 |
diet_nerf_col.image(dn_im, use_column_width=True)
|
138 |
|
139 |
# nerf_col.markdown("""<h4 style='text-align: center'>NeRF</h4>""", unsafe_allow_html=True)
|