hassiahk commited on
Commit
1b312d9
1 Parent(s): 93bc290

Changed spinner message

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