rhazeljay commited on
Commit
6763c5b
·
verified ·
1 Parent(s): 5dbf647

modified app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ st.write("Upload an image and ask a question about it.")
21
  uploaded_file = st.file_uploader("Choose an image...", type=["jpg", "png", "jpeg"])
22
  if uploaded_file is not None:
23
  image = Image.open(uploaded_file).convert("RGB")
24
- st.image(image, caption="Uploaded Image", use_column_width=True)
25
 
26
  question = st.text_input("Ask a question about the image:")
27
  if question:
 
21
  uploaded_file = st.file_uploader("Choose an image...", type=["jpg", "png", "jpeg"])
22
  if uploaded_file is not None:
23
  image = Image.open(uploaded_file).convert("RGB")
24
+ st.image(image, caption="Uploaded Image", use_container_width=True)
25
 
26
  question = st.text_input("Ask a question about the image:")
27
  if question: