ó
    =pˆj‘  ã                   ój   • S r SSKJr  SSKJrJr  SSKJr  SSKJ	r	  S\S	\4S
 jr
S\S	\\\4   4S jrg)z>Model config loading for inference model directory convention.é    )ÚPath)ÚAnyÚDicté   )Ú	constantsé   )Ú
YAMLReaderÚ	model_dirÚreturnc                 ó.   • U [         R                   S3-  $ )z=Return the config file path for an inference model directory.z.yml)r   ÚMODEL_FILE_PREFIX©r
   s    Úg/var/www/html/pdf-tiff/venv/lib/python3.13/site-packages/paddlex/inference/models/utils/model_config.pyÚget_model_config_pathr      s   € àœ)×5Ñ5Ð6°dÐ;Ñ;Ð;ó    c                 óF   • [        5       R                  [        U 5      5      $ )z4Load model config from an inference model directory.)r	   Úreadr   r   s    r   Úload_model_configr      s   € ä‹<×ÑÔ2°9Ó=Ó>Ð>r   N)Ú__doc__Úpathlibr   Útypingr   r   Ú r   Úutils.ior	   r   Ústrr   © r   r   Ú<module>r      sE   ðñ Eå ß å Ý "ð< Tð <¨dô <ð
? ð ?¨$¨s°C¨x©.õ ?r   