Final hopefully
Browse files
app.py
CHANGED
@@ -66,8 +66,8 @@ def solve(file_obj):
|
|
66 |
scores = [line[1][1] for line in result]
|
67 |
# TODO: Need to upload a font
|
68 |
# im_show = draw_ocr(image, boxes, txts, scores)
|
69 |
-
im_show = Image.fromarray(im_show)
|
70 |
-
im_show.save('result.jpg')
|
71 |
return txts, 'day_10.png'
|
72 |
|
73 |
title = 'Cathode-Ray Tube'
|
|
|
66 |
scores = [line[1][1] for line in result]
|
67 |
# TODO: Need to upload a font
|
68 |
# im_show = draw_ocr(image, boxes, txts, scores)
|
69 |
+
# im_show = Image.fromarray(im_show)
|
70 |
+
# im_show.save('result.jpg')
|
71 |
return txts, 'day_10.png'
|
72 |
|
73 |
title = 'Cathode-Ray Tube'
|