SameerR007 commited on
Commit
ff01337
1 Parent(s): 202c930

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -53,7 +53,7 @@ vgg_model = VGG16()
53
  vgg_model = Model(inputs=vgg_model.inputs, outputs=vgg_model.layers[-2].output)
54
  from tensorflow.keras.preprocessing.image import img_to_array
55
  from PIL import Image
56
- uploaded_image=st.file_uploader("Upload image to be captioned",type=["jpg","png","jpeg",])
57
  image_path="bushman.jpeg"
58
  if(uploaded_image!=None):
59
  display_image=Image.open(uploaded_image)
 
53
  vgg_model = Model(inputs=vgg_model.inputs, outputs=vgg_model.layers[-2].output)
54
  from tensorflow.keras.preprocessing.image import img_to_array
55
  from PIL import Image
56
+ uploaded_image=st.file_uploader("Upload image to be captioned",type=["jpg","png","jpeg","webp"])
57
  image_path="bushman.jpeg"
58
  if(uploaded_image!=None):
59
  display_image=Image.open(uploaded_image)