Spaces:
Runtime error
Runtime error
Commit
·
b101525
1
Parent(s):
c4ff5e3
Update app.py
Browse files
app.py
CHANGED
@@ -1,11 +1,10 @@
|
|
1 |
-
import easyocr
|
2 |
import PIL
|
3 |
from PIL import ImageDraw
|
4 |
import streamlit as st
|
5 |
-
|
6 |
|
7 |
uploaded_file = st.file_uploader("text here", type="file_type")
|
8 |
-
image = Image.open(uploaded_file)
|
9 |
st.image(image, caption='Uploaded Image.')
|
10 |
|
11 |
|
|
|
|
|
1 |
import PIL
|
2 |
from PIL import ImageDraw
|
3 |
import streamlit as st
|
4 |
+
|
5 |
|
6 |
uploaded_file = st.file_uploader("text here", type="file_type")
|
7 |
+
image = PIL.Image.open(uploaded_file)
|
8 |
st.image(image, caption='Uploaded Image.')
|
9 |
|
10 |
|