breezedeus commited on
Commit
417b9b0
1 Parent(s): 77c48c3

ok, error not from st.cache

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -64,7 +64,7 @@ def plot_for_debugging(rotated_img, one_out, box_score_thresh, crop_ncols, prefi
64
  print('boxes results are save to file %s' % result_fp)
65
 
66
 
67
- #@st.cache(allow_output_mutation=True)
68
  def get_ocr_model(det_model_name, rec_model_name, det_more_configs):
69
  det_model_name, det_model_backend = det_model_name
70
  rec_model_name, rec_model_backend = rec_model_name
 
64
  print('boxes results are save to file %s' % result_fp)
65
 
66
 
67
+ @st.cache(allow_output_mutation=True)
68
  def get_ocr_model(det_model_name, rec_model_name, det_more_configs):
69
  det_model_name, det_model_backend = det_model_name
70
  rec_model_name, rec_model_backend = rec_model_name