ecarbo commited on
Commit
d2b95de
1 Parent(s): 04ca9eb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ def inference(img, lang):
17
  txts = [line[1][0] for line in result]
18
  scores = [line[1][1] for line in result]
19
  im_show = draw_ocr(image, boxes, txts, scores,
20
- font_path='simfang.ttf')
21
  im_show = Image.fromarray(im_show)
22
  im_show.save('result.jpg')
23
  return 'result.jpg'
 
17
  txts = [line[1][0] for line in result]
18
  scores = [line[1][1] for line in result]
19
  im_show = draw_ocr(image, boxes, txts, scores,
20
+ font_path='RightSans.ttf')
21
  im_show = Image.fromarray(im_show)
22
  im_show.save('result.jpg')
23
  return 'result.jpg'