Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -27,7 +27,7 @@ uploaded_file = st.camera_input("Take a picture") # Opens your webcam
|
|
| 27 |
if uploaded_file is not None:
|
| 28 |
# Load the image
|
| 29 |
image = Image.open(uploaded_file)
|
| 30 |
-
st.image(image, caption="Uploaded Image",
|
| 31 |
|
| 32 |
# Preprocess
|
| 33 |
inputs = processor(images=image, return_tensors="pt")
|
|
|
|
| 27 |
if uploaded_file is not None:
|
| 28 |
# Load the image
|
| 29 |
image = Image.open(uploaded_file)
|
| 30 |
+
st.image(image, caption="Uploaded Image", use_container_width=True)
|
| 31 |
|
| 32 |
# Preprocess
|
| 33 |
inputs = processor(images=image, return_tensors="pt")
|