a
    ¡˜ëjJ  ã                   @   s    d dl Z d dlmZ dd„ ZdS )é    N)Ú	get_modelc                  C   s@   t j dd¡} | r,|  d¡D ]}t|d� qtt j d¡ƒ dS )z�Download default model or model specified by UNSTRUCTURED_HI_RES_MODEL_NAME environment
    variable (avoids subprocesses all doing the same)Z#UNSTRUCTURED_HI_RES_SUPPORTED_MODELÚ ú,)Ú
model_nameZUNSTRUCTURED_HI_RES_MODEL_NAMEN)ÚosÚenvironÚgetÚsplitr   )Zsupported_modelr   © r
   ú`/mnt/bigstor/www/usecases/.venv/lib/python3.9/site-packages/unstructured/partition/model_init.pyÚ
initialize   s
    r   )r   Z"unstructured_inference.models.baser   r   r
   r
   r
   r   Ú<module>   s   