Spaces:
Running
Running
breezedeus
commited on
Commit
•
5dc6cc8
1
Parent(s):
4fd2838
change to @st .cache_data
Browse files
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.
|
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_data
|
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
|