Szeyu commited on
Commit
8b6a9db
·
verified ·
1 Parent(s): f1e68af

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
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! 📷", use_column_width=True)
81
  else:
82
- st.image(uploaded_image, caption="Your Picture 🌟", use_column_width=True)
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: