nicolaleo commited on
Commit
11a889e
1 Parent(s): 36350e2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -14,7 +14,12 @@ from transformers import DetrFeatureExtractor, DetrForObjectDetection
14
  from PIL import Image
15
  import requests
16
 
 
17
  url = 'http://images.cocodataset.org/val2017/000000039769.jpg'
 
 
 
 
18
  image = Image.open(requests.get(url, stream=True).raw)
19
 
20
  feature_extractor = DetrFeatureExtractor.from_pretrained('facebook/detr-resnet-50')
 
14
  from PIL import Image
15
  import requests
16
 
17
+
18
  url = 'http://images.cocodataset.org/val2017/000000039769.jpg'
19
+
20
+
21
+ st.write(url)
22
+
23
  image = Image.open(requests.get(url, stream=True).raw)
24
 
25
  feature_extractor = DetrFeatureExtractor.from_pretrained('facebook/detr-resnet-50')