+
    Ci                     8    ^ RI t ^ RIt^RIHt  ! R R]4      tR# )    N)BiRefNetSessionGeneralc                   D   a  ] tR t^t o Rt]R 4       t]R 4       tRtV t	R# )BiRefNetSessionCODz^
This class represents a BiRefNet-COD session, which is a subclass of BiRefNetSessionGeneral.
c           
        V P                   ! V/ VB  R2p\        P                  ! RV P                  ! V/ VB '       d   RMRVV P                  ! V/ VB RR7       \
        P                  P                  V P                  ! V/ VB V4      # )z
Downloads the BiRefNet-COD model file from a specific URL and saves it.

Parameters:
    *args: Additional positional arguments.
    **kwargs: Additional keyword arguments.

Returns:
    str: The path to the downloaded model file.
z.onnxzYhttps://github.com/danielgatis/rembg/releases/download/v0.0.0/BiRefNet-COD-epoch_125.onnxNz$md5:f6d0d21ca89d287f17e7afe9f5fd3b45T)fnamepathprogressbar)namepoochretrievechecksum_disabled
u2net_homeosr   join)clsargskwargsr   s   &*, Y/var/www/html/photoedit/myenv/lib/python3.14/site-packages/rembg/sessions/birefnet_cod.pydownload_models"BiRefNetSessionCOD.download_models   s     88T,V,-U3g (($9&99 ;00
	
 ww||CNND;F;UCC    c                    R# )z
Returns the name of the BiRefNet-COD session.

Parameters:
    *args: Additional positional arguments.
    **kwargs: Additional keyword arguments.

Returns:
    str: The name of the session.
zbirefnet-cod )r   r   r   s   &*,r   r
   BiRefNetSessionCOD.name(   s     r   r   N)
__name__
__module____qualname____firstlineno____doc__classmethodr   r
   __static_attributes____classdictcell__)__classdict__s   @r   r   r      s4      D D4  r   r   )r   r    r   r   r   r   r   <module>r%      s    	  $,/ ,r   