Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -14,6 +14,6 @@ uploaded_file = st.file_uploader(
|
|
14 |
"Upload your image here ...", type=["jpg", "jpeg", "png"]
|
15 |
)
|
16 |
if uploaded_file is not None:
|
17 |
-
image = Image.open(uploaded_file)
|
18 |
run_app(image)
|
19 |
st.image(uploaded_file, use_column_width=True)
|
|
|
14 |
"Upload your image here ...", type=["jpg", "jpeg", "png"]
|
15 |
)
|
16 |
if uploaded_file is not None:
|
17 |
+
image = Image.open(uploaded_file).convert('RGB')
|
18 |
run_app(image)
|
19 |
st.image(uploaded_file, use_column_width=True)
|