CoolFace
Apppublic

lint/gitio-sum-combination

sourceHugging Faceupdated 3y agoView on Hugging Face
0likes
gradify.cpython-310.pyc8 linesDownload Raw Back to __pycache__
1o

2��wd��@sifdd�Zddd�ZdS)cs^ddlm}|��D]\}}t||�r|�|��nq3t��|�t������fdd�}|S)N�)�FunctionTypec4s�z(t|��D]\}}|�dd�}|rt|�|�}|d}|�|<q�di���WSty@}zddl}|�d|����d}~ww)N�postprocessing�labelrzError: �)�zip�get�eval�	Exception�gradio�Error)�args�argZargmaprZkw_label�e�gr��argmaps�func�func_kwargsr�%/root/yfuone/gitio/workdir/gradify.py�gradify_funcs5��z%gradify_closure.<locals>.gradify_func)�typesr�items�6isinstance�pop�globals�update�dict)�ldictrrr�k�vrrrr�gradify_closures78�r NcCs&i}t|t�|�|r|�|d�S|S�N)�execrr)�source�targetrrrr�exec_to_dict!sr%r!)r r%rrrr�<module>s