Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -147,8 +147,8 @@ else:
|
|
147 |
# Image upload section.
|
148 |
image_file = st.file_uploader("Upload an image", type=["jpg", "jpeg", "png"], key="uploaded_image", on_change=on_image_upload)
|
149 |
|
150 |
-
|
151 |
-
|
152 |
camera_image = st.camera_input("Take a picture")
|
153 |
|
154 |
|
|
|
147 |
# Image upload section.
|
148 |
image_file = st.file_uploader("Upload an image", type=["jpg", "jpeg", "png"], key="uploaded_image", on_change=on_image_upload)
|
149 |
|
150 |
+
col1, col2, col3 = st.columns([1, 2, 1])
|
151 |
+
with col2: # Camera input will be in the middle column
|
152 |
camera_image = st.camera_input("Take a picture")
|
153 |
|
154 |
|