Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -58,6 +58,7 @@ def inference(filepath, lang):
|
|
| 58 |
continue
|
| 59 |
|
| 60 |
out = recognitor.predict(cropped_image)
|
|
|
|
| 61 |
new_bounds.append((bbox,text, out, prob))
|
| 62 |
im = PIL.Image.open(filepath)
|
| 63 |
draw_boxes(im, bounds)
|
|
|
|
| 58 |
continue
|
| 59 |
|
| 60 |
out = recognitor.predict(cropped_image)
|
| 61 |
+
print(out)
|
| 62 |
new_bounds.append((bbox,text, out, prob))
|
| 63 |
im = PIL.Image.open(filepath)
|
| 64 |
draw_boxes(im, bounds)
|