Closed SkanderHellal closed 1 month ago
Thanks for the issue @SkanderHellal . We'll discuss and follow up
Hi @SkanderHellal, how did you notice that the model is loaded every time? What are the steps to reproduce?
@SkanderHellal I was not able to reproduce this issue - both detection and table transformer models initialized for only a single time. Please share steps to reproduce your issue.
I am using partition_pdf to extract content from pdf file. However, object detection models and table structure recognition are loaded at every call. In addition to that, we cannot change models with table extraction for example.