Spaces:
Build error
Build error
Update app.py
Browse files
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)
|