Spaces:
Running
Running
Fixed line 18
Browse files
app.py
CHANGED
|
@@ -15,7 +15,7 @@ def extract_text_from_image(image):
|
|
| 15 |
if isinstance(image, Image.Image):
|
| 16 |
image = np.array(image)
|
| 17 |
|
| 18 |
-
result = ocr.ocr(image
|
| 19 |
|
| 20 |
# Extract text with coordinates
|
| 21 |
text_blocks = []
|
|
|
|
| 15 |
if isinstance(image, Image.Image):
|
| 16 |
image = np.array(image)
|
| 17 |
|
| 18 |
+
result = ocr.ocr(image)
|
| 19 |
|
| 20 |
# Extract text with coordinates
|
| 21 |
text_blocks = []
|