refactor(model): replace ModelSingleton with direct model initialization and improve threading
- Remove usage of ModelSingleton class - Initialize model directly using custom_model_init function - Add self._lock attribute to PDFExtractKit class for thread safety- Replace local lock with self._lock for OCR processing
Showing
Please register or sign in to comment