Update src/streamlit_app1.py
Browse files- src/streamlit_app1.py +1 -1
src/streamlit_app1.py
CHANGED
|
@@ -31,7 +31,7 @@ uploaded_file = st.file_uploader("Uploader une image", type=["jpg", "jpeg", "png
|
|
| 31 |
if uploaded_file:
|
| 32 |
try:
|
| 33 |
image = Image.open(uploaded_file).convert("RGB")
|
| 34 |
-
st.image(image, caption="Image chargée",
|
| 35 |
|
| 36 |
# Bouton pour déclencher la prédiction
|
| 37 |
if st.button("Prédire"):
|
|
|
|
| 31 |
if uploaded_file:
|
| 32 |
try:
|
| 33 |
image = Image.open(uploaded_file).convert("RGB")
|
| 34 |
+
st.image(image, caption="Image chargée", use_container_width=True)
|
| 35 |
|
| 36 |
# Bouton pour déclencher la prédiction
|
| 37 |
if st.button("Prédire"):
|