ayaanzaveri commited on
Commit
660b68d
1 Parent(s): c3d1c0a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ pipe = pipeline('object-detection', model=model, feature_extractor=extractor)
19
 
20
  img_url = st.text_input('Image URL', 'https://images.unsplash.com/photo-1556911220-bff31c812dba?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2468&q=80')
21
 
22
- img_data = requests.get(image_url).content
23
  with open('detect.jpg', 'wb') as handler:
24
  handler.write(img_data)
25
 
 
19
 
20
  img_url = st.text_input('Image URL', 'https://images.unsplash.com/photo-1556911220-bff31c812dba?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2468&q=80')
21
 
22
+ img_data = requests.get(img_url).content
23
  with open('detect.jpg', 'wb') as handler:
24
  handler.write(img_data)
25