vikhyatk commited on
Commit
447c456
·
verified ·
1 Parent(s): 79c7af5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -198,7 +198,7 @@ def detect(img, object):
198
  img = Resize(768)(img)
199
  w, h = img.size
200
 
201
- objs = moondream.detect(img, object, tokenizer)
202
  draw_image = ImageDraw.Draw(img)
203
  for o in objs:
204
  draw_image.rectangle(
 
198
  img = Resize(768)(img)
199
  w, h = img.size
200
 
201
+ objs = moondream.detect(img, object)
202
  draw_image = ImageDraw.Draw(img)
203
  for o in objs:
204
  draw_image.rectangle(