pengdaqian commited on
Commit
d2ae0ec
1 Parent(s): 450ca22

warm up model

Browse files
Files changed (1) hide show
  1. dbimutils.py +1 -1
dbimutils.py CHANGED
@@ -65,6 +65,6 @@ def read_img_from_url(image):
65
  rawimage = Image.open(io.BytesIO(res.content))
66
  return rawimage
67
  else:
68
- res = Image.open(image)
69
  return rawimage
70
  return image
 
65
  rawimage = Image.open(io.BytesIO(res.content))
66
  return rawimage
67
  else:
68
+ rawimage = Image.open(image)
69
  return rawimage
70
  return image