SSahas commited on
Commit
f8a93f3
1 Parent(s): fd359ef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -7,6 +7,7 @@ import string
7
  import nltk
8
  nltk.download('stopwords')
9
  nltk.download('wordnet')
 
10
 
11
  processor = BlipProcessor.from_pretrained("Salesforce/blip-image-captioning-base")
12
  model = BlipForConditionalGeneration.from_pretrained("Salesforce/blip-image-captioning-base")
 
7
  import nltk
8
  nltk.download('stopwords')
9
  nltk.download('wordnet')
10
+ nltk.download('omw-1.4')
11
 
12
  processor = BlipProcessor.from_pretrained("Salesforce/blip-image-captioning-base")
13
  model = BlipForConditionalGeneration.from_pretrained("Salesforce/blip-image-captioning-base")