
    |-j                     ,    d dl mZmZ ddededefdZdS )   ConfigPaddleModelN
model_nameconfig_pathreturnc                 J    t          | |          }t          |          }||fS )ay  build Config and PaddleModel

    Args:
        model_name (str): model name
        device (str): device, such as gpu, cpu, npu, xpu, mlu, gcu, metax_gpu
        config_path (str, optional): path to the PaddleX config yaml file.
            Defaults to None, i.e. using the default config file.

    Returns:
        tuple(Config, PaddleModel): the Config and PaddleModel
    )configr   )r   r   r
   models       `/var/www/html/banglarbhumi/venv/lib/python3.11/site-packages/paddlex/modules/base/build_model.pybuild_modelr      s-     J,,Fv&&&E5=    )N)repo_apis.baser   r   strtupler    r   r   <module>r      sW     2 1 1 1 1 1 1 1 C c U      r   