Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ image = st.file_uploader("Choose an image...", type=["jpg", "jpeg", "png"])
|
|
15 |
|
16 |
if image is not None:
|
17 |
# Display the uploaded image
|
18 |
-
image = Image.open(
|
19 |
st.image(image, caption="Uploaded Image", use_column_width=True)
|
20 |
|
21 |
question = st.text_input("What's your question?")
|
|
|
15 |
|
16 |
if image is not None:
|
17 |
# Display the uploaded image
|
18 |
+
image = Image.open(image)
|
19 |
st.image(image, caption="Uploaded Image", use_column_width=True)
|
20 |
|
21 |
question = st.text_input("What's your question?")
|