Spaces:
Runtime error
Runtime error
natexcvi
commited on
Commit
•
a9cf259
1
Parent(s):
1fbfe55
Fix caption
Browse files
app.py
CHANGED
@@ -23,7 +23,9 @@ for i, col in enumerate([col1, col2]):
|
|
23 |
with col:
|
24 |
img_cont = st.container()
|
25 |
static_image = st.file_uploader(
|
26 |
-
"Upload image
|
|
|
|
|
27 |
)
|
28 |
if static_image is not None:
|
29 |
img_cont.image(static_image, caption=f"Image {i+1}", width=200)
|
|
|
23 |
with col:
|
24 |
img_cont = st.container()
|
25 |
static_image = st.file_uploader(
|
26 |
+
f"Upload image {i+1}",
|
27 |
+
type=["png", "jpg", "jpeg"],
|
28 |
+
key=f"static_img_uploader_{i}",
|
29 |
)
|
30 |
if static_image is not None:
|
31 |
img_cont.image(static_image, caption=f"Image {i+1}", width=200)
|