Quinniboi10 commited on
Commit
368fd2e
·
1 Parent(s): 03f785d

Update streamlit_config.py

Browse files
Files changed (1) hide show
  1. streamlit_config.py +1 -1
streamlit_config.py CHANGED
@@ -38,7 +38,7 @@ def run():
38
  img_data = requests.get(img_url).content
39
  with open('detect.jpg', 'wb') as file:
40
  file.write(img_data)
41
- file = Image('detect.jpg')
42
  if not file:
43
  return
44
 
 
38
  img_data = requests.get(img_url).content
39
  with open('detect.jpg', 'wb') as file:
40
  file.write(img_data)
41
+ file = Image.open('detect.jpg')
42
  if not file:
43
  return
44