o
    6t¾i¬  ã                   @   s\   d dl Z d dlmZmZmZ dZdeeef defdd„Zdeeef dee fdd	„Z	dS )
é    N)ÚAnyÚDictÚListzKListen to the audio <audio> and output what a human has said on it. Answer:ÚdocÚreturnc                 C   s   t S )N)ÚINSTRUCTION)r   © r   úT/home/ubuntu/.local/lib/python3.10/site-packages/lm_eval/tasks/common_voice/utils.pyÚdoc_to_text
   s   r
   c                 C   s$   | d d | d d dœ}|g}|S )NÚaudioÚarrayÚsampling_rate)r   r   r   )r   r   Úaudiosr   r   r	   Údoc_to_audio   s
   

þr   )
ÚioÚtypingr   r   r   r   Ústrr
   Údictr   r   r   r   r	   Ú<module>   s    ÿ"