
    Ph                     0    g d Z g dZdefdZd Ze ez   Zy))CTCHypothesis
CTCDecoderCTCDecoderLMCTCDecoderLMStatectc_decoderdownload_pretrained_files)CUCTCDecoderCUCTCHypothesiscuda_ctc_decodernamec                 H   | t         v r"	 ddlm} t        ||       }|t               | <   |S | t        v r"	 ddlm} t        ||       }|t               | <   |S t        dt         d|        # t        $ r}t	        d      |d }~ww xY w# t        $ r}t	        d      |d }~ww xY w)N   )_ctc_decoderz\CTC Decoder suit requires flashlight-text package and optionally KenLM. Please install them.)_cuda_ctc_decoderzTTo use CUCTC decoder, please set BUILD_CUDA_CTC_DECODER=1 when building from source.zmodule z has no attribute )_CTC_DECODERS r   	ExceptionRuntimeErrorgetattrglobals_CUDA_CTC_DECODERSr   AttributeError__name__)r   r   erritemr   s        mC:\Users\daisl\Desktop\realtime-object-detection\venv\Lib\site-packages\torchaudio/models/decoder/__init__.py__getattr__r      s    }	& |T*	$	#	#	+ ($/	$
78*,>tfE
FF'  	n	  	f	s.   A* B *	B3A??B	B!BB!c                       t        t              S )N)sorted__all__     r   __dir__r"   *   s    '?r!   N)r   r   strr   r"   r   r    r!   r   <module>r$      s4    Gc G4 ,
,r!   