ikraamkb commited on
Commit
f5f107d
·
verified ·
1 Parent(s): c4be58d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ vqa_model = ViltForQuestionAnswering.from_pretrained("dandelin/vilt-b32-finetune
20
  captioner = pipeline("image-to-text", model="nlpconnect/vit-gpt2-image-captioning")
21
 
22
  # Load EasyOCR reader
23
- reader = easyocr.Reader(['en'])
24
 
25
  def classify_question(question: str):
26
  question_lower = question.lower()
 
20
  captioner = pipeline("image-to-text", model="nlpconnect/vit-gpt2-image-captioning")
21
 
22
  # Load EasyOCR reader
23
+ reader = easyocr.Reader(['en', 'fr', 'ar'])
24
 
25
  def classify_question(question: str):
26
  question_lower = question.lower()