+
    ªÏj  ã                   óJ  € ^ RI t ^ RIt^ 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IHtHtHt ^RIHtHtHtHt ^RIHtHt ^RIHt ^RIHt R	R
RRRRRRRRRRRRRRRRRRRRRRR R!R"R!/tR	R#RR$RR%RR&RR'RR(RR)RR*RR+RR,RR-RR-R R.R"R./tR/ R0 ltR1 R2 ltR5R3 R4 lltR# )6é    N)ÚListÚOptionalÚUnion)Útqdm)Ú
load_audioÚlog_mel_spectrogramÚpad_or_trim)ÚDecodingOptionsÚDecodingResultÚdecodeÚdetect_language)ÚModelDimensionsÚWhisper)Ú
transcribe)Ú__version__ztiny.enz‚https://openaipublic.azureedge.net/main/whisper/models/d3dd57d32accea0b295c96e26691aa14d8822fac7d9d27d5dc00b4ca2826dd03/tiny.en.ptÚtinyzhttps://openaipublic.azureedge.net/main/whisper/models/65147644a518d12f04e32d6f3b26facc3f8dd46e5390956a9424a650c0ce22b9/tiny.ptzbase.enz‚https://openaipublic.azureedge.net/main/whisper/models/25a8566e1d0c1e2231d1c762132cd20e0f96a85d16145c3a00adf5d1ac670ead/base.en.ptÚbasezhttps://openaipublic.azureedge.net/main/whisper/models/ed3a0b6b1c0edf879ad9b11b1af5a0e6ab5db9205f891f668f8b0e6c6326e34e/base.ptzsmall.enzƒhttps://openaipublic.azureedge.net/main/whisper/models/f953ad0fd29cacd07d5a9eda5624af0f6bcf2258be67c92b79389873d91e0872/small.en.ptÚsmallz€https://openaipublic.azureedge.net/main/whisper/models/9ecf779972d90ba49c06d968637d720dd632c55bbf19d441fb42bf17a411e794/small.ptz	medium.enz„https://openaipublic.azureedge.net/main/whisper/models/d7440d1dc186f76616474e0ff0b3b6b879abc9d1a4926b7adfa41db2d497ab4f/medium.en.ptÚmediumz�https://openaipublic.azureedge.net/main/whisper/models/345ae4da62f9b3d59415adc60127b97c714f32e89e936602e85993674d08dcb1/medium.ptzlarge-v1zƒhttps://openaipublic.azureedge.net/main/whisper/models/e4b87e7e0bf463eb8e6956e646f1e277e901512310def2c24bf0e11bd3c28e9a/large-v1.ptzlarge-v2zƒhttps://openaipublic.azureedge.net/main/whisper/models/81f7c96c852ee8fc832187b0132e569d6c3065a3252ed18e56effd0b6a73e524/large-v2.ptzlarge-v3zƒhttps://openaipublic.azureedge.net/main/whisper/models/e5b1a55b89c1367dacf97e3e19bfd829a01529dbfdeefa8caeb59b3f1b81dadb/large-v3.ptÚlargezlarge-v3-turboz‰https://openaipublic.azureedge.net/main/whisper/models/aff26ae408abcba5fbf8813c21e62b0941638c5f6eebfb145be0c9839262a19a/large-v3-turbo.ptÚturbos%   ABzY8J1N>@0{>%R00Bk>$p{7v037`oCl~+#00s#   ABzY8bu8Lr0{>%RKn9Fp%m@SkK7Kt=7ytkOs%   ABzY8;40c<0{>%RzzG;p*o+Vo09|#PsxSZm00s(   ABzY8KQ!870{>%RzyTQH3`Q^yNP!>##QT-<FaQ7ms4   ABzY8>?_)10{>%RpeA61k&I|OI3I$65C{;;pbCHh0B{qLQ;+}v00s1   ABzY8DmU6=0{>%Rpa?J`kvJ6qF(V^F86#Xh7JUGMK}P<N0000s>   ABzY8usPae0{>%R7<zz_OvQ{)4kMa0BMw6u5rT}kRKX;$NfYBv00*Hl@qhsU00s,   ABzY8B0Jh+0{>%R7}kK1fFL7w6%<-Pf*t^=N)Qr&0RR9s2   ABzY8r9j$a0{>%R7#4sLmoOs{s)o3~84-RPdcFk!JR<kSfC2yjsK   ABzY8zd+h!0{>%R7=D0pU<_bnWW*tkYAhobTNnu$jnkEkXqp)j;w1Tzk)UH3X%SZd&fFZ2fC2yjs9   ABzY8gWO1E0{>%R7(9S+Kn!D~%ngiGaR?*L!iJG9p-nab0JQ=-{D1-g00s(   ABzY8j^C+e0{>%RARaKHP%t(lGR*)0g!tONPyhe`c          
      ój   € V ^8„  d   QhR\         R\         R\        R\        \        \         3,          /# )é   ÚurlÚrootÚ	in_memoryÚreturn)ÚstrÚboolr   Úbytes)Úformats   "ÚF/opt/data/home/.local/lib/python3.14/site-packages/whisper/__init__.pyÚ__annotate__r#   6   s1   € ÷ )9ñ )9”3ð )9œcð )9¬dð )9´u¼UÄC¸ZÕ7Hñ )9ó    c                 óÒ  € \         P                  ! VR R7       V P                  R4      R,          p\         P                  P	                  V\         P                  P                  V 4      4      p\         P                  P                  V4      '       d4   \         P                  P                  V4      '       g   \        V R24      h\         P                  P                  V4      '       d|   \        VR4      ;_uu_ 4       pVP                  4       pRRR4       \        P                  ! X4      P                  4       V8X  d   V'       d   V# T# \        P                  ! V R24       \         P"                  P%                  V 4      ;_uu_ 4       p\        VR4      ;_uu_ 4       p\'        \)        VP+                  4       P-                  R4      4      ^PR	R R
R7      ;_uu_ 4       p	 VP                  R4      p
V
'       g   M-VP/                  V
4       V	P1                  \3        V
4      4       KH  RRR4       RRR4       RRR4       \        VR4      P                  4       p\        P                  ! V4      P                  4       V8w  d   \        R4      hV'       d   V# T#   + '       g   i     EL•; i  + '       g   i     LŽ; i  + '       g   i     L™; i  + '       g   i     L¤; i)T)Úexist_okÚ/z! exists and is not a regular fileÚrbNzH exists, but the SHA256 checksum does not match; re-downloading the fileÚwbzContent-LengthÚiBi   )ÚtotalÚncolsÚunitÚ
unit_scaleÚunit_divisori    zeModel has been downloaded but the SHA256 checksum does not not match. Please retry loading the model.éþÿÿÿ)ÚosÚmakedirsÚsplitÚpathÚjoinÚbasenameÚexistsÚisfileÚRuntimeErrorÚopenÚreadÚhashlibÚsha256Ú	hexdigestÚwarningsÚwarnÚurllibÚrequestÚurlopenr   ÚintÚinfoÚgetÚwriteÚupdateÚlen)r   r   r   Úexpected_sha256Údownload_targetÚfÚmodel_bytesÚsourceÚoutputÚloopÚbuffers   &&&        r"   Ú	_downloadrR   6   s  € Ü‡K‚K�˜tÕ$à—i‘i “n RÕ(€OÜ—g‘g—l‘l 4¬¯©×)9Ñ)9¸#Ó)>Ó?€Oä	‡w�w‡~�~�o×&Ò&¬r¯w©w¯~©~¸o×/NÒ/NÜ˜oÐ.Ð.OÐPÓQÐQä	‡w�w‡~�~�o×&Ò&Ü�/ 4×(Ô(¨AØŸ&™&›(ˆK÷ )ä�>Š>˜+Ó&×0Ñ0Ó2°oÔEß"+�;Ð@°Ð@ä�MŠMØ"Ð#Ð#kÐlôô 
�‰×	Ñ	 ×	$Ô	$¨´°_Àd×0KÔ0KÈvÜÜ�f—k‘k“m×'Ñ'Ð(8Ó9Ó:ØØØØ÷
õ 
ð ØØŸ™ TÓ*�ßØà—‘˜VÔ$Ø—‘œC ›KÖ(÷
÷ 1L×	$ô  �¨Ó-×2Ñ2Ó4€KÜ‡~‚~�kÓ"×,Ñ,Ó.°/ÔAÜØsó
ð 	
÷ $ˆ;Ð8¨Ð8÷? )×(Ð(ú÷
÷ 
ú÷ 1L×0Kú×	$×	$úsN   Ã?JÆKÆ"?K	Ç!J0Ç<.J0È*K	È2KÊJ-	Ê0K Ê;K	ËKËKËK&	c                ó:   € V ^8„  d   QhR\         \        ,          /# )r   r   )r   r   )r!   s   "r"   r#   r#   b   s   € ÷  ñ  œ$œs�)ñ  r$   c                 ó<   € \        \        P                  4       4      # )z%Returns the names of available models)ÚlistÚ_MODELSÚkeys© r$   r"   Úavailable_modelsrY   b   s   € ä”—‘“ÓÐr$   c          
      ó    € V ^8„  d   QhR\         R\        \        \         \        P                  3,          ,          R\         R\
        R\        /# )r   ÚnameÚdeviceÚdownload_rootr   r   )r   r   r   Útorchr\   r   r   )r!   s   "r"   r#   r#   g   sM   € ÷ :ñ :Ü
ð:ä”Uœ3¤§¡Ð,Õ-Õ.ð:ô ð:ô ð	:ô
 ñ:r$   c                ó,  € Vf)   \         P                  P                  4       '       d   RMRpVfs   \        P                  P                  \        P                  P                  R4      R4      p\        P                  P                  \        P                  ! RV4      R4      pV \        9   d&   \        \        V ,          W#4      p\        V ,          pMe\        P                  P                  V 4      '       d(   V'       d   \        V R4      P                  4       MT pRpM\        R	V  R
\        4        24      hV'       d   \         P"                  ! V4      M\        VR4      ;_uu_ 4       p\         P$                  R8¼  d   RR/M/ p\         P&                  ! V3RV/VB p	RRR4       ?\)        R/ X	R,          B p
\+        V
4      pVP-                  V	R,          4       Ve   VP/                  V4       VP1                  V4      #   + '       g   i     Ll; i)a!  
Load a Whisper ASR model

Parameters
----------
name : str
    one of the official model names listed by `whisper.available_models()`, or
    path to a model checkpoint containing the model dimensions and the model state_dict.
device : Union[str, torch.device]
    the PyTorch device to put the model into
download_root: str
    path to download the model files; by default, it uses "~/.cache/whisper"
in_memory: bool
    whether to preload the model weights into host memory

Returns
-------
model : Whisper
    The Whisper ASR model instance
NÚcudaÚcpuÚ~z.cacheÚXDG_CACHE_HOMEÚwhisperr(   zModel z not found; available models = z1.13Úweights_onlyTÚmap_locationÚdimsÚmodel_state_dictrX   )r^   r`   Úis_availabler1   r4   r5   Ú
expanduserÚgetenvrV   rR   Ú_ALIGNMENT_HEADSr8   r:   r;   r9   rY   ÚioÚBytesIOr   Úloadr   r   Úload_state_dictÚset_alignment_headsÚto)r[   r\   r]   r   ÚdefaultÚcheckpoint_fileÚalignment_headsÚfpÚkwargsÚ
checkpointrg   Úmodels   &&&&        r"   Ú
load_modelrz   g   sš  € ð6 ‚~Ü Ÿ:™:×2Ñ2×4Ò4‘¸%ˆØÒÜ—'‘'—,‘,œrŸw™w×1Ñ1°#Ó6¸ÓAˆÜŸ™Ÿ™¤R§Y¢YÐ/?ÀÓ%IÈ9ÓUˆàŒw„Ü#¤G¨D¥M°=ÓLˆÜ*¨4Õ0‰Ü	�‰�‰˜×	Ò	ß5>œ$˜t TÓ*×/Ñ/Ô1ÀDˆØ‰äØ�T�FÐ9Ô:JÓ:LÐ9MÐNó
ð 	
÷
 (1Œ�
Š
�?Ô#´d¸?ÈDÓ6Q×QÐQØ	Ü+0×+<Ñ+<ÀÔ+F�. $Ñ'ÈBˆÜ—Z’Z ÑB°ÐB¸6ÑBˆ
÷ 	Rð 	äÑ0˜Z¨Õ/Ñ0€DÜ�D‹M€EØ	×Ñ˜*Ð%7Õ8Ô9àÒ"Ø×!Ñ! /Ô2à�8‰8�FÓÐ÷ 	R×Qús   Å*5HÈH	)NNF)r<   rm   r1   rA   r?   Útypingr   r   r   r^   r   Úaudior   r   r	   Údecodingr
   r   r   r   ry   r   r   r   Úversionr   rV   rl   rR   rY   rz   rX   r$   r"   Ú<module>r      s/  ðÛ Û 	Û 	Û Û ß (Ñ (ã Ý ç ?Ñ ?ß NÓ Nß +Ý "Ý  ð ð  TØ
ð  NØð  TØ
ð  NØð  VØð  PØð  XØð  RØð  VØð  VØð  VØð  SØð  bØð  Yð€ð( Ð7Ø
Ð2ØÐ7Ø
Ð7ØÐGØÐAØÐRØÐ=ØÐEØÐ^ØÐLØÐIØÐAØÐ8ðÐ õ$)9õX ÷
:ñ :r$   