Update app.py
Browse files
app.py
CHANGED
|
@@ -76,10 +76,11 @@ st.markdown("Upload a picture to make a funny story and hear it too! 📸")
|
|
| 76 |
|
| 77 |
uploaded_image = st.file_uploader("Choose your picture", type=["jpg", "jpeg", "png"])
|
| 78 |
|
|
|
|
| 79 |
if uploaded_image is None:
|
| 80 |
-
st.image("https://example.com/placeholder_image.jpg", caption="Upload your picture here! 📷",
|
| 81 |
else:
|
| 82 |
-
st.image(uploaded_image, caption="Your Picture 🌟",
|
| 83 |
|
| 84 |
if st.button("✨ Make My Story! ✨"):
|
| 85 |
if uploaded_image is not None:
|
|
|
|
| 76 |
|
| 77 |
uploaded_image = st.file_uploader("Choose your picture", type=["jpg", "jpeg", "png"])
|
| 78 |
|
| 79 |
+
# Streamlit UI (modified image display section)
|
| 80 |
if uploaded_image is None:
|
| 81 |
+
st.image("https://example.com/placeholder_image.jpg", caption="Upload your picture here! 📷", use_container_width=True)
|
| 82 |
else:
|
| 83 |
+
st.image(uploaded_image, caption="Your Picture 🌟", use_container_width=True)
|
| 84 |
|
| 85 |
if st.button("✨ Make My Story! ✨"):
|
| 86 |
if uploaded_image is not None:
|