piky commited on
Commit
4dceaa5
·
verified ·
1 Parent(s): 998fc2d

Update app.py

Browse files

Guess two capsules

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ device = "cuda" if torch.cuda.is_available() else "cpu"
11
  processor = AutoProcessor.from_pretrained(model_id)
12
  model = AutoModelForZeroShotObjectDetection.from_pretrained(model_id).to(device)
13
 
14
- image_url = "https://pub-44a464d4394a43d6834ffdc08038cb38.r2.dev/static/img/guess_a_capsule.jpeg"
15
 
16
  headers = {
17
  "User-Agent": "Mozilla/5.0"
 
11
  processor = AutoProcessor.from_pretrained(model_id)
12
  model = AutoModelForZeroShotObjectDetection.from_pretrained(model_id).to(device)
13
 
14
+ image_url = "https://pub-44a464d4394a43d6834ffdc08038cb38.r2.dev/static/img/guess_two_capsules.jpg"
15
 
16
  headers = {
17
  "User-Agent": "Mozilla/5.0"