Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|