Ë
    ÿÍ:j�  ã            	       ó\   — d dl mZmZmZmZ d dlmZ deeee   f   dedeeee   f   fd„Zy)é    )ÚAnyÚCallableÚTupleÚUnion)ÚSpecificationsÚspecificationsÚfuncÚreturnc                 óp   ‡— t        | t        «      r ‰|d| iŽS t        ˆfd„t        | g|¢­Ž D «       «      S )aT  Compute the function using arguments from each of the iterables

    Returns a tuple if provided `specifications` is a tuple,
    otherwise returns the function return value.

    Parameters
    ----------
    specifications : (tuple of) Specifications
        Specifications or tuple of specifications
    func : callable
        Function called for each specification with
        `func(*iterables[i], specifications=specifications[i])`
    *iterables :
        List of iterables with same length as `specifications`.

    Returns
    -------
    output : (tuple of) `func` return value(s)
    r   c              3   ó2   •K  — | ]  ^}} ‰|d |iŽ–— Œ y­w)r   N© )Ú.0ÚsÚir	   s      €út/home/mcse/projects/srt_converter/srt-converter-venv/lib/python3.12/site-packages/pyannote/audio/utils/multi_task.pyú	<genexpr>z*map_with_specifications.<locals>.<genexpr>9   s$   øè ø€ ò Ø', q¨1‰ˆaÐ" Õ"ñùs   ƒ)Ú
isinstancer   ÚtupleÚzip)r   r	   Ú	iterabless    ` r   Úmap_with_specificationsr      sC   ø€ ô2 �.¤.Ô1Ù�YÐ>¨~Ñ>Ð>äó Ü03°NÐ0OÀYÒ0Oôó ð ó    N)Útypingr   r   r   r   Úpyannote.audio.core.modelr   r   r   r   r   ú<module>r      sK   ð÷0 /Ó .å 4ðØ˜.¨%°Ñ*?Ð?Ñ@ðà
ðð ˆ3��c‘
ˆ?Ñô	r   