Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -13,6 +13,15 @@ client = OpenAI()
|
|
13 |
MODEL = st.secrets["MODEL"]
|
14 |
|
15 |
def main():
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
# Initialize session state variables
|
17 |
if "session_id" not in st.session_state:
|
18 |
st.session_state.session_id = str(uuid.uuid4())
|
|
|
13 |
MODEL = st.secrets["MODEL"]
|
14 |
|
15 |
def main():
|
16 |
+
|
17 |
+
#title
|
18 |
+
st.title("Easy OCR - Extract Text from Images")
|
19 |
+
|
20 |
+
#subtitle
|
21 |
+
st.markdown("## Optical Character Recognition - Using `easyocr`, `streamlit` - hosted on 🤗 Spaces")
|
22 |
+
|
23 |
+
st.markdown("Link to the app - [image-to-text-app on 🤗 Spaces](https://huggingface.co/spaces/iohanngrig/physics_instructor)")
|
24 |
+
|
25 |
# Initialize session state variables
|
26 |
if "session_id" not in st.session_state:
|
27 |
st.session_state.session_id = str(uuid.uuid4())
|