+
    ¤÷ÎjR  ã                   ó  € ^ RI t ^ RIt^ RIt^ RIHtHtHt ^ RIt^ RIH	t	 / RRbRRbRR	bR
RbRRbRRbRRbRRbRRbRRbRRbRRbRRbRRbRR bR!R"bR#R$bR%R&R'R&/Ct
R( R) ltR* tR+ tR4R, R- lltR5R. R/ llt ! R0 R1]	4      tR2 R3 ltR# )6é    N)ÚListÚOptionalÚUnion)Útqdmztiny.enzSystran/faster-whisper-tiny.enÚtinyzSystran/faster-whisper-tinyzbase.enzSystran/faster-whisper-base.enÚbasezSystran/faster-whisper-basezsmall.enzSystran/faster-whisper-small.enÚsmallzSystran/faster-whisper-smallz	medium.enz Systran/faster-whisper-medium.enÚmediumzSystran/faster-whisper-mediumzlarge-v1zSystran/faster-whisper-large-v1zlarge-v2zSystran/faster-whisper-large-v2zlarge-v3zSystran/faster-whisper-large-v3Úlargezdistil-large-v2z&Systran/faster-distil-whisper-large-v2zdistil-medium.enz'Systran/faster-distil-whisper-medium.enzdistil-small.enz&Systran/faster-distil-whisper-small.enzdistil-large-v3z&Systran/faster-distil-whisper-large-v3zdistil-large-v3.5z$distil-whisper/distil-large-v3.5-ct2zlarge-v3-turboz,mobiuslabsgmbh/faster-whisper-large-v3-turboÚturboc                ó:   € V ^8„  d   QhR\         \        ,          /# )é   Úreturn)r   Ústr)Úformats   "ÚJ/opt/data/home/.local/lib/python3.14/site-packages/faster_whisper/utils.pyÚ__annotate__r   "   s   € ÷  ñ  œ$œs�)ñ  ó    c                 ó<   € \        \        P                  4       4      # )z&Returns the names of available models.)ÚlistÚ_MODELSÚkeys© r   r   Úavailable_modelsr   "   s   € ä”—‘“ÓÐr   c                 ó¾   € \         P                  P                  \         P                  P                  \         P                  P	                  \
        4      4      R4      # )z)Returns the path to the assets directory.Úassets)ÚosÚpathÚjoinÚdirnameÚabspathÚ__file__r   r   r   Úget_assets_pathr#   '   s1   € ä�7‰7�<‰<œŸ™Ÿ™¬¯©¯©¼Ó(AÓBÀHÓMÐMr   c                 ó.   € \         P                  ! R4      # )zReturns the module logger.Úfaster_whisper)ÚloggingÚ	getLoggerr   r   r   Ú
get_loggerr(   ,   s   € ä×ÒÐ-Ó.Ð.r   c                óÚ   € V ^8„  d   QhR\         R\        \         ,          R\        R\        \         ,          R\        \         ,          R\        \        \         \        3,          ,          /# )r   Ú
size_or_idÚ
output_dirÚlocal_files_onlyÚ	cache_dirÚrevisionÚuse_auth_token)r   r   Úboolr   )r   s   "r   r   r   1   sn   € ÷ C@ñ C@ÜðC@äœ•ðC@ô ðC@ô œ�}ð	C@ô
 ”s�mðC@ô œU¤3¬ 9Õ-Õ.ñC@r   c           	     óh  € \         P                  ! RV 4      '       d   T pMM\        P                  V 4      pVf5   \	        RV : RRP                  \        P                  4       4      : 24      h. ROpRVRVR\        RV/pVe
   WR	&   R
VR&   Ve   W8R&   Ve   WXR&   \        P                  ! V3/ VB # )a,  Downloads a CTranslate2 Whisper model from the Hugging Face Hub.

Args:
  size_or_id: Size of the model to download from https://huggingface.co/Systran
    (tiny, tiny.en, base, base.en, small, small.en, distil-small.en, medium, medium.en,
    distil-medium.en, large-v1, large-v2, large-v3, large, distil-large-v2,
    distil-large-v3), or a CTranslate2-converted model ID from the Hugging Face Hub
    (e.g. Systran/faster-whisper-large-v3).
  output_dir: Directory where the model should be saved. If not set, the model is saved in
    the cache directory.
  local_files_only:  If True, avoid downloading the file and return the path to the local
    cached file if it exists.
  cache_dir: Path to the folder where cached files are stored.
  revision: An optional Git revision id which can be a branch name, a tag, or a
        commit hash.
  use_auth_token: HuggingFace authentication token or True to use the
        token stored by the HuggingFace config folder.

Returns:
  The path to the downloaded model.

Raises:
  ValueError: if the model size is invalid.
z.*/.*zInvalid model size 'z', expected one of: z, r,   Úallow_patternsÚ
tqdm_classr.   Ú	local_dirFÚlocal_dir_use_symlinksr-   Útoken)zconfig.jsonzpreprocessor_config.jsonz	model.binztokenizer.jsonzvocabulary.*)
ÚreÚmatchr   ÚgetÚ
ValueErrorr   r   Údisabled_tqdmÚhuggingface_hubÚsnapshot_download)	r*   r+   r,   r-   r.   r/   Úrepo_idr2   Úkwargss	   &&&&&&   r   Údownload_modelr@   1   sÅ   € ô@ 
‡x‚x�˜*×%Ò%Ø‰ä—+‘+˜jÓ)ˆØŠ?Ýã˜tŸy™y¬¯©«Õ8ð:óð ò
€Nð 	Ð,Ø˜.Ø”mØ�Hð	€Fð ÒØ(ˆ{ÑØ+0ˆÐ'Ñ(àÒØ'ˆ{ÑàÒ!Ø(ˆw‰ä×,Ò,¨WÑ?¸Ñ?Ð?r   c                óH   € V ^8„  d   QhR\         R\        R\        R\        /# )r   ÚsecondsÚalways_include_hoursÚdecimal_markerr   )Úfloatr0   r   )r   s   "r   r   r   w   s0   € ÷ ñ Üðäðô ðô 	ñ	r   c                 ó   € V ^ 8¼  g   Q R4       h\        V R,          4      pVR,          pW4R,          ,          pVR,          pW5R,          ,          pVR,          p W0R,          ,          pV'       g   V^ 8”  d   VR R2MRpV VR RV R V VR	 2# )
r   znon-negative timestamp expectedg     @�@i€î6 i`ê  iè  Ú02dÚ:Ú Ú03d)Úround)rB   rC   rD   ÚmillisecondsÚhoursÚminutesÚhours_markers   &&&    r   Úformat_timestamprP   w   s¨   € ð
 �aŒ<Ð:Ð:Ó:ˆ<Ü˜ 6Õ)Ó*€Là˜IÕ%€EØ˜IÕ%Õ%€Là˜fÕ$€GØ˜fÕ$Õ$€Là˜eÕ#€GØ˜e•OÕ#€Lç&:¸eÀa¼i�e˜C�[ ‘?ÈR€Làˆ.˜ ˜ Q w¨s m°NÐ3CÀLÐQTÐCUÐVðr   c                   ó2   a a€ ] tR t^Žt oV 3R ltRtVtV ;t# )r;   c                ó2   <€ R VR&   \         SV `  ! V/ VB  R# )TÚdisableN)ÚsuperÚ__init__)ÚselfÚargsr?   Ú	__class__s   &*,€r   rU   Údisabled_tqdm.__init__�   s   ø€ Ø ˆˆyÑÜ‰Ò˜$Ð) &Ô)r   r   )Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__rU   Ú__static_attributes__Ú__classdictcell__Ú__classcell__)rX   Ú__classdict__s   @@r   r;   r;   Ž   s   ù‡ € ÷*õ *r   r;   c                ó\   € V ^8„  d   QhR\         \        ,          R\        \        ,          /# )r   Úsegmentsr   )r   Údictr   rE   )r   s   "r   r   r   ”   s"   € ÷ ñ ”dœ4•jð ¤X¬e¥_ñ r   c                 ór   € \        R  \        V 4       4       V '       d   V R,          R,          4      # R4      # )c              3   ód   "  € T F&  p\        VR ,          4       F  q"R,          x € K  	  K(  	  R# 5i)ÚwordsÚendN)Úreversed)Ú.0ÚsÚws   &  r   Ú	<genexpr>Úget_end.<locals>.<genexpr>–   s(   é € ÐLÑ-�a´xÀÀ'Å
Ö7K°!ˆ5�ŠÑ7K‰Ó-ùs   ‚.0rh   Néÿÿÿÿ)Únextri   )rc   s   &r   Úget_endrq   ”   s7   € ÜÙLœ8 HÔ-ÓLß'ˆ���UÕóð à-1óð r   )NFNNN)FÚ.)r&   r   r7   Útypingr   r   r   r<   Ú	tqdm.autor   r   r   r#   r(   r@   rP   r;   rq   r   r   r   Ú<module>ru      s;  ðÛ Û 	Û 	ç (Ñ (ã å ðØÐ/ðà
Ð)ðð Ð/ðð Ð)ð	ð
 Ð1ðð Ð+ðð Ð3ðð Ð-ðð Ð1ðð Ð1ðð Ð1ðð Ð.ðð Ð?ðð ÐAðð Ð?ðð  Ð?ð!ð" Ð?ð#ð$ ÐDØÐ;ñ'€õ. ò
Nò
/÷
C@÷Lô.*�Dô *÷r   