Update app.py
Browse files
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")
|