multimodalart HF Staff commited on
Commit
6e5b75b
·
verified ·
1 Parent(s): c301058

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -85,7 +85,7 @@ def run_inference_localization(
85
  )
86
 
87
  # 2. Process text and image together to get model inputs
88
- inputs = current_processor(
89
  text=[text_prompt],
90
  images=[pil_image_for_processing], # Provide the actual image data here
91
  padding=True,
 
85
  )
86
 
87
  # 2. Process text and image together to get model inputs
88
+ inputs = processor(
89
  text=[text_prompt],
90
  images=[pil_image_for_processing], # Provide the actual image data here
91
  padding=True,