Abijith commited on
Commit
02cac29
1 Parent(s): 6bd2a33

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ if platform.system() == 'Windows':
21
  pytesseract.pytesseract.tesseract_cmd = tesseract_config['tesseractpath']
22
 
23
  # Table detection-recognition model loading function
24
- @st.experimental_singleton
25
  def load_models():
26
  try:
27
  # models loading from local
 
21
  pytesseract.pytesseract.tesseract_cmd = tesseract_config['tesseractpath']
22
 
23
  # Table detection-recognition model loading function
24
+ @st.cache_resource
25
  def load_models():
26
  try:
27
  # models loading from local