garychew commited on
Commit
6306010
·
verified ·
1 Parent(s): d3b03b7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ processor = AutoProcessor.from_pretrained("Salesforce/blip-image-captioning-base
9
  model = BlipForConditionalGeneration.from_pretrained("Salesforce/blip-image-captioning-base")
10
 
11
  # Load your image, DON'T FORGET TO WRITE YOUR IMAGE NAME
12
- img_path = "YOUR IMAGE NAME.jpeg"
13
  # convert it into an RGB format
14
  image = Image.open(img_path).convert('RGB')
15
 
 
9
  model = BlipForConditionalGeneration.from_pretrained("Salesforce/blip-image-captioning-base")
10
 
11
  # Load your image, DON'T FORGET TO WRITE YOUR IMAGE NAME
12
+ img_path = "demo.jpeg"
13
  # convert it into an RGB format
14
  image = Image.open(img_path).convert('RGB')
15