ilar06 commited on
Commit
7d69880
1 Parent(s): b2a7a2b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -1,6 +1,10 @@
1
  import streamlit as st
2
  import streamlit.components.v1 as components
3
 
 
 
 
 
4
  st.title("Candy Label Scanner")
5
 
6
  # Embed the HTML file in the Streamlit app
 
1
  import streamlit as st
2
  import streamlit.components.v1 as components
3
 
4
+ from transformers import AutoTokenizer, AutoModel
5
+ tokenizer = AutoTokenizer.from_pretrained("team-lucid/trocr-small-korean")
6
+ model = AutoModel.from_pretrained("team-lucid/trocr-small-korean")
7
+
8
  st.title("Candy Label Scanner")
9
 
10
  # Embed the HTML file in the Streamlit app