Tulitula commited on
Commit
d093723
·
verified ·
1 Parent(s): cb67003

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -15,8 +15,7 @@ try:
15
  caption_pipe = pipeline(
16
  "image-to-text",
17
  model=model,
18
- feature_extractor=processor.feature_extractor,
19
- tokenizer=processor.tokenizer,
20
  device=device
21
  )
22
  print("✅ BLIP model loaded successfully")
 
15
  caption_pipe = pipeline(
16
  "image-to-text",
17
  model=model,
18
+ processor=processor,
 
19
  device=device
20
  )
21
  print("✅ BLIP model loaded successfully")