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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -444,7 +444,7 @@ def process_file(uploaded_file, use_vision=True, preprocessing_options=None, pro
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("Powered by Mistral AI")
448
 
449
  # Check if pytesseract is available for fallback
450
  try:
@@ -495,7 +495,7 @@ with main_tab1:
495
  """, unsafe_allow_html=True)
496
 
497
  # Add heading for the file uploader (just text, no container)
498
- st.markdown('## Upload Document')
499
 
500
  # Model info below the heading
501
  st.markdown("Using the latest `mistral-ocr-latest` model for advanced document understanding.")
 
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
450
  try:
 
495
  """, unsafe_allow_html=True)
496
 
497
  # Add heading for the file uploader (just text, no container)
498
+ st.markdown('### Upload Document')
499
 
500
  # Model info below the heading
501
  st.markdown("Using the latest `mistral-ocr-latest` model for advanced document understanding.")