Update app.py
Browse files
app.py
CHANGED
@@ -131,7 +131,7 @@ def display_uploaded_images():
|
|
131 |
# show uploaded images and save them to file
|
132 |
image_type = st.selectbox('Choose image type:', options=['characters', 'terrain'])
|
133 |
name = st.text_input('Enter a name for the image:')
|
134 |
-
uploaded_files = st.file_uploader('Upload image(s)', type=['png', 'jpg'], accept_multiple_files=True)
|
135 |
for uploaded_file in uploaded_files:
|
136 |
if uploaded_file is not None:
|
137 |
# Get actual image file
|
|
|
131 |
# show uploaded images and save them to file
|
132 |
image_type = st.selectbox('Choose image type:', options=['characters', 'terrain'])
|
133 |
name = st.text_input('Enter a name for the image:')
|
134 |
+
uploaded_files = st.file_uploader(key="part2", 'Upload image(s)', type=['png', 'jpg'], accept_multiple_files=True)
|
135 |
for uploaded_file in uploaded_files:
|
136 |
if uploaded_file is not None:
|
137 |
# Get actual image file
|