PrabalPaul007 commited on
Commit
f2f222b
1 Parent(s): 8d07a6f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -34,7 +34,7 @@ def generate_caption(image):
34
  # Streamlit app
35
  st.title("Cartoon Caption Generator")
36
 
37
- uploaded_image = st.file_uploader("Upload an image", type=["jpg", "jpeg"])
38
 
39
  if uploaded_image is not None:
40
  st.image(uploaded_image, caption='Uploaded Image.', use_column_width=True)
 
34
  # Streamlit app
35
  st.title("Cartoon Caption Generator")
36
 
37
+ uploaded_image = st.file_uploader("Upload an image", type=["jpg", "jpeg", 'png'])
38
 
39
  if uploaded_image is not None:
40
  st.image(uploaded_image, caption='Uploaded Image.', use_column_width=True)