Spaces:
Build error
Build error
Changed spinner message
Browse files
app.py
CHANGED
@@ -113,13 +113,14 @@ radius = st.sidebar.slider(
|
|
113 |
|
114 |
st.markdown("")
|
115 |
|
116 |
-
with st.spinner("Rendering
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
|
|
|
113 |
|
114 |
st.markdown("")
|
115 |
|
116 |
+
with st.spinner("Rendering View..."):
|
117 |
+
with st.spinner("It may take 2-3 mins. So, why don't you read our report in the meantime"):
|
118 |
+
pred_color, _ = render_predict_from_pose(state, theta, phi, radius)
|
119 |
+
im = predict_to_image(pred_color)
|
120 |
+
w, _ = im.size
|
121 |
+
new_w = int(2 * w)
|
122 |
+
im = im.resize(size=(new_w, new_w))
|
123 |
+
st.markdown(
|
124 |
+
"""<h4 style='text-align: center'>DietNerF</h4>""", unsafe_allow_html=True
|
125 |
+
)
|
126 |
+
st.image(im, use_column_width="auto")
|