o
    Fg                  	   @   s   d dl mZ d dlZd dlmZ d dlmZmZ d dlm	Z	 d dl
mZ d dlmZ d dlmZ d d	lmZ 		dd
eejB dB dejeB dB deeef fddZdS )    )DictN)BasePredictor)DetectionPredictorInlineDetectionPredictor)LayoutPredictor)OCRErrorPredictor)RecognitionPredictor)TableRecPredictor)TexifyPredictordevicedtypereturnc              
   C   sL   t | |dt| |dt| |dt| |dt| |dt| |dt| |ddS )Nr   r   )layout	ocr_errorrecognition	detectioninline_detectiontexify	table_rec)r   r   r   r   r   r
   r	   r    r   f/var/www/eduai.edurigo.com/doc_train/edurigo_ai/Puru/venv/lib/python3.10/site-packages/surya/models.pyload_predictors   s   






r   )NN)typingr   torchsurya.common.predictorr   surya.detectionr   r   surya.layoutr   surya.ocr_errorr   surya.recognitionr   surya.table_recr	   surya.texifyr
   strr   r   r   r   r   r   r   <module>   s$    
