ilar06 commited on
Commit
df4252c
1 Parent(s): 0cfe559

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,4 +1,5 @@
1
  import streamlit as st
 
2
 
3
  st.title("Candy Label Scanner")
4
 
@@ -6,4 +7,4 @@ st.title("Candy Label Scanner")
6
  with open("index.html", 'r', encoding='utf-8') as f:
7
  html_string = f.read()
8
 
9
- st.components.html(html_string, height=800, scrolling=True)
 
1
  import streamlit as st
2
+ import streamlit.components.v1 as components
3
 
4
  st.title("Candy Label Scanner")
5
 
 
7
  with open("index.html", 'r', encoding='utf-8') as f:
8
  html_string = f.read()
9
 
10
+ components.html(html_string, height=800, scrolling=True)