Spaces:
Runtime error
Runtime error
CallmeKaito
commited on
Commit
•
a6fe24d
1
Parent(s):
d2cc9f6
Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ def main():
|
|
23 |
# Select background image
|
24 |
background_img_file = st.file_uploader("Select a background image", type=["jpg", "png"])
|
25 |
|
26 |
-
if
|
27 |
# Load input and background images
|
28 |
background_img = Image.open(background_img_file)
|
29 |
|
|
|
23 |
# Select background image
|
24 |
background_img_file = st.file_uploader("Select a background image", type=["jpg", "png"])
|
25 |
|
26 |
+
if background_img_file is not None:
|
27 |
# Load input and background images
|
28 |
background_img = Image.open(background_img_file)
|
29 |
|