Spaces:
Runtime error
Runtime error
debu das
commited on
Commit
•
667e7d5
1
Parent(s):
d4a7cc5
Update app.py
Browse files
app.py
CHANGED
@@ -44,6 +44,6 @@ if submit:
|
|
44 |
bytes_data = uploaded_file.getvalue()
|
45 |
if bytes_data is not None:
|
46 |
bytes_data = uploaded_file.read()
|
47 |
-
image = Image.open(
|
48 |
st.image(image, caption='Sunrise by the mountains')
|
49 |
ocr(image,'ch')
|
|
|
44 |
bytes_data = uploaded_file.getvalue()
|
45 |
if bytes_data is not None:
|
46 |
bytes_data = uploaded_file.read()
|
47 |
+
image = Image.open(bytes_data)
|
48 |
st.image(image, caption='Sunrise by the mountains')
|
49 |
ocr(image,'ch')
|