ddovidovich commited on
Commit
a77b9d8
·
1 Parent(s): 4b19388

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -144,8 +144,8 @@ with col4:
144
 
145
  if image_file is not None:
146
 
147
- image=cv2.imread(image_file)
148
-
149
  st.subheader("Original Image")
150
  st.image(image,width=1100)
151
 
 
144
 
145
  if image_file is not None:
146
 
147
+ #image=cv2.imread(image_file)
148
+ image = Image.open(uploaded_file)
149
  st.subheader("Original Image")
150
  st.image(image,width=1100)
151