jableable commited on
Commit
190ac67
·
verified ·
1 Parent(s): 62d023c

Update new_app.py

Browse files
Files changed (1) hide show
  1. new_app.py +6 -1
new_app.py CHANGED
@@ -124,7 +124,12 @@ with col2:
124
  st.error(f"Error fetching image: {e}")
125
 
126
  if state.img is not None:
127
- st.image(state.img, width=640) #use_container_width = True
 
 
 
 
 
128
 
129
  with col1:
130
  st.subheader("Prediction")
 
124
  st.error(f"Error fetching image: {e}")
125
 
126
  if state.img is not None:
127
+ st.markdown(
128
+ "<div style='display:flex; justify-content:center;'>",
129
+ unsafe_allow_html=True
130
+ )
131
+ st.image(state.img, width=640)
132
+ st.markdown("</div>", unsafe_allow_html=True)
133
 
134
  with col1:
135
  st.subheader("Prediction")