Spaces:
Running
Running
Update new_app.py
Browse files- 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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")
|