Swekerr commited on
Commit
c0f81ec
1 Parent(s): 14aca25

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ RAG, model, processor = load_models()
20
  # Skip RAG search and use Qwen2VL for direct OCR
21
  def ocr_and_search(image, keyword):
22
  # Hardcoded query to extract text in English, Sanskrit, and Hindi
23
- text_query = "Extract all the text in English, Sanskrit, and Hindi from the image."
24
 
25
  # Prepare message for Qwen model
26
  messages = [
 
20
  # Skip RAG search and use Qwen2VL for direct OCR
21
  def ocr_and_search(image, keyword):
22
  # Hardcoded query to extract text in English, Sanskrit, and Hindi
23
+ text_query = "Extract all the text in Sanskrit and English from the image."
24
 
25
  # Prepare message for Qwen model
26
  messages = [