Tirath5504 commited on
Commit
0f71548
·
verified ·
1 Parent(s): ec74a93

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -31,12 +31,12 @@ def predict(image):
31
  ocr_text = extract_text(image).lower()
32
 
33
  engResult = clientEngText.predict(
34
- text=ocr_text,
35
  api_name="/predict"
36
  )
37
 
38
  hingResult = clientHingText.predict(
39
- text=ocr_text,
40
  api_name="/predict"
41
  )
42
 
 
31
  ocr_text = extract_text(image).lower()
32
 
33
  engResult = clientEngText.predict(
34
+ text=ocr_text[:200],
35
  api_name="/predict"
36
  )
37
 
38
  hingResult = clientHingText.predict(
39
+ text=ocr_text[:200],
40
  api_name="/predict"
41
  )
42