ChandraP12330 commited on
Commit
5dbb7ab
·
verified ·
1 Parent(s): d04a873

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ initial_caption = pipeline('image-to-text', model="Salesforce/blip-image-caption
11
  uploaded_image = st.file_uploader("Upload an image", type=["png", "jpg", "jpeg"])
12
  if uploaded_image is not None:
13
  image= Image.open(uploaded_image)
14
- st.image(image, caption="Uploaded Image", use_column_width=True)
15
 
16
  # Generate the caption
17
  if st.button("Generate Caption"):
 
11
  uploaded_image = st.file_uploader("Upload an image", type=["png", "jpg", "jpeg"])
12
  if uploaded_image is not None:
13
  image= Image.open(uploaded_image)
14
+ st.image(image, caption="Uploaded Image", use_column_width=False)
15
 
16
  # Generate the caption
17
  if st.button("Generate Caption"):