gstdl commited on
Commit
9c87a02
1 Parent(s): f09862d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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)