saritha5 commited on
Commit
6e1a614
·
1 Parent(s): 6406f2a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -124,7 +124,7 @@ else:
124
  if f is None:
125
  st.write("Please upload an image file")
126
  else:
127
- stringio = StringIO(f.getvalue().decode("utf-8"))
128
  f = stringio.read()
129
  st.write(f)
130
  image1= Image.open(f)
 
124
  if f is None:
125
  st.write("Please upload an image file")
126
  else:
127
+ stringio = StringIO(f.getvalue())
128
  f = stringio.read()
129
  st.write(f)
130
  image1= Image.open(f)