Spaces:
Runtime error
Runtime error
Commit
·
ac0eccd
1
Parent(s):
2170976
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ reader = easyocr.Reader(['en'])
|
|
| 11 |
|
| 12 |
|
| 13 |
url = 'https://fki.tic.heia-fr.ch/static/img/a01-122-02-00.jpg'
|
| 14 |
-
img = Image.open(requests.get(url, stream=True).raw).convert("RGB")
|
| 15 |
bound = reader.readtext(img)
|
| 16 |
|
| 17 |
|
|
|
|
| 11 |
|
| 12 |
|
| 13 |
url = 'https://fki.tic.heia-fr.ch/static/img/a01-122-02-00.jpg'
|
| 14 |
+
img = PIL.Image.open(requests.get(url, stream=True).raw).convert("RGB")
|
| 15 |
bound = reader.readtext(img)
|
| 16 |
|
| 17 |
|