Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,9 +19,9 @@ else:
|
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
-
|
| 23 |
|
| 24 |
-
if
|
| 25 |
st.image(user_image_object )
|
| 26 |
|
| 27 |
user_image_name = "input_image.png"
|
|
|
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
+
user_image_object = st.file_uploader("upload your image", type=['png', 'jpg'], accept_multiple_files=False)
|
| 23 |
|
| 24 |
+
if user_image_object is not None:
|
| 25 |
st.image(user_image_object )
|
| 26 |
|
| 27 |
user_image_name = "input_image.png"
|