Loren commited on
Commit
7919715
1 Parent(s): f5b4b73

Reduce sidebar

Browse files
Files changed (1) hide show
  1. pages/App.py +7 -4
pages/App.py CHANGED
@@ -933,12 +933,15 @@ def raz():
933
  ##----------- Initializations ---------------------------------------------------------------------
934
  #print("PID : ", os.getpid())
935
  st.set_page_config(page_title='OCR Comparator', layout ="wide")
936
- st.markdown(f'''
937
  <style>
938
- section[data-testid="stSidebar"] .css-ng1t4o {{width: 14rem;}}
939
- section[data-testid="stSidebar"] .css-1d391kg {{width: 14rem;}}
 
940
  </style>
941
- ''',unsafe_allow_html=True)
 
 
942
  st.title("OCR solutions comparator")
943
  st.markdown("##### *EasyOCR, PPOCR, MMOCR, Tesseract*")
944
  #st.markdown("#### PID : " + str(os.getpid()))
 
933
  ##----------- Initializations ---------------------------------------------------------------------
934
  #print("PID : ", os.getpid())
935
  st.set_page_config(page_title='OCR Comparator', layout ="wide")
936
+ st.markdown("""
937
  <style>
938
+ section[data-testid="stSidebar"] {
939
+ width: 5rem;
940
+ }
941
  </style>
942
+ """,unsafe_allow_html=True)
943
+
944
+
945
  st.title("OCR solutions comparator")
946
  st.markdown("##### *EasyOCR, PPOCR, MMOCR, Tesseract*")
947
  #st.markdown("#### PID : " + str(os.getpid()))