changxin commited on
Commit
ef7b3a4
·
1 Parent(s): 55a59c4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -66,7 +66,7 @@ def fx6(img, lang):
66
  font_path='simfang.ttf')
67
  im_show = Image.fromarray(im_show)
68
  im_show.save('result.jpg')
69
- return 'result.jpg',txts
70
 
71
  def fx7(x,y):
72
  res=re.findall(r'{0}'.format(y),x)
 
66
  font_path='simfang.ttf')
67
  im_show = Image.fromarray(im_show)
68
  im_show.save('result.jpg')
69
+ return 'result.jpg',list(zip(txts))
70
 
71
  def fx7(x,y):
72
  res=re.findall(r'{0}'.format(y),x)