milwright commited on
Commit
d9621bf
·
verified ·
1 Parent(s): b5077cc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -443,7 +443,7 @@ def process_file(uploaded_file, use_vision=True, preprocessing_options=None, pro
443
 
444
  # App title and description
445
  favicon_base64 = get_base64_from_image(os.path.join(os.path.dirname(__file__), "static/favicon.png"))
446
- st.markdown(f'<div style="display: flex; align-items: center; gap: 10px;"><img src="data:image/png;base64,{favicon_base64}" width="36" height="36" alt="Scroll Icon"/> <h1 style="margin: 0; padding: 0;">Historical Document OCR</h1></div>', unsafe_allow_html=True)
447
  st.subheader("Made possible by Mistral AI")
448
 
449
  # Check if pytesseract is available for fallback
 
443
 
444
  # App title and description
445
  favicon_base64 = get_base64_from_image(os.path.join(os.path.dirname(__file__), "static/favicon.png"))
446
+ st.markdown(f'<div style="display: flex; align-items: center; gap: 10px;"><img src="data:image/png;base64,{favicon_base64}" width="36" height="36" alt="Scroll Icon"/> <div><h1 style="margin: 0; padding: 20px 0 0 0;">Historical Document OCR</h1></div></div>', unsafe_allow_html=True)
447
  st.subheader("Made possible by Mistral AI")
448
 
449
  # Check if pytesseract is available for fallback