isom5240 commited on
Commit
1797e65
·
verified ·
1 Parent(s): e2e071b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ def main():
29
  uploaded_image = st.file_uploader("Upload an image", type=["jpg", "jpeg", "png"])
30
 
31
  if uploaded_image is not None:
32
- image = Image.open(uploaded_file).convert("RGB")
33
  st.image(image, caption="Uploaded Image", use_column_width=True)
34
 
35
  # Stage 1: Image to Text
 
29
  uploaded_image = st.file_uploader("Upload an image", type=["jpg", "jpeg", "png"])
30
 
31
  if uploaded_image is not None:
32
+ image = Image.open(uploaded_image).convert("RGB")
33
  st.image(image, caption="Uploaded Image", use_column_width=True)
34
 
35
  # Stage 1: Image to Text