初始化一次PaddleOCR后, 多次api请求出现 如下问题 could not execute a primitive
File "/usr/local/lib/python3.10/dist-packages/paddleocr/ppstructure/layout/predict_layout.py", line 86, in __call__
self.predictor.run()
RuntimeError: could not execute a primitive
解决办法:把flask 换成fastapi