ilar06 commited on
Commit
e4b6ca7
·
verified ·
1 Parent(s): 16f585d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,5 +1,5 @@
1
  import streamlit as st
2
- import streamlit.components.v1 as components
3
 
4
  st.title("Candy Label Scanner")
5
 
@@ -109,4 +109,4 @@ html_code = """
109
  </html>
110
  """
111
 
112
- Tesseract.js(html_code, height=600)
 
1
  import streamlit as st
2
+ import streamlit.opticalcharacterrecognition.html as opticalcharacterrecognition
3
 
4
  st.title("Candy Label Scanner")
5
 
 
109
  </html>
110
  """
111
 
112
+ opticalcharacterrecognition.html(html_code, height=600)