o
    i                     @   s   d Z ddlZejeZejedZeedZe	 
 ZW d   n1 s)w   Y  ddlZddlZdddZee ddlmZ dd	lmZ d
ejd< dS )zInitialize funasr package.    Nzversion.txtrTc                 C   s   t | trzt| } W n ty } zW Y d }~nd }~ww i }t | ts]t| j| jd D ],\}}}z	t|||< W n tyP } zW Y d }~nd }~ww |r\|r\|	t
| q0|S )N.)
isinstancestr	importlibimport_module	Exceptionpkgutilwalk_packages__path____name__updateimport_submodules)package	recursiveeresultsloadernameis_pkg r   C/home/ubuntu/.local/lib/python3.10/site-packages/funasr/__init__.pyr      s(   

r   )	AutoModel)AutoFrontend1HYDRA_FULL_ERROR)T)__doc__ospathdirname__file__joinversion_fileopenfreadstrip__version__r   r	   r   r   funasr.auto.auto_modelr   funasr.auto.auto_frontendr   environr   r   r   r   <module>   s    
