o
    Û·iâ  ã                   @   s    d dl mZ G dd„ deƒZdS )é    )Ú	Componentc                   @   s4   e Zd Zdd„ Zdd„ Zdd„ Zdd„ Zd	d
„ ZdS )ÚFallbackc                 C   ó   |S )a  
        This docstring is used to generate the docs for this custom component.
        Parameters:
            payload: the data to be preprocessed, sent from the frontend
        Returns:
            the data after preprocessing, sent to the user's function in the backend
        © )ÚselfÚpayloadr   r   úP/home/ubuntu/vllm_env/lib/python3.10/site-packages/gradio/components/fallback.pyÚ
preprocess   ó   zFallback.preprocessc                 C   r   )a  
        This docstring is used to generate the docs for this custom component.
        Parameters:
            payload: the data to be postprocessed, sent from the user's function in the backend
        Returns:
            the data after postprocessing, sent to the frontend
        r   )r   Úvaluer   r   r   Úpostprocess   r
   zFallback.postprocessc                 C   ó   ddiS ©NÚfooÚbarr   ©r   r   r   r   Úexample_payload   ó   zFallback.example_payloadc                 C   r   r   r   r   r   r   r   Úexample_value   r   zFallback.example_valuec                 C   s
   i ddœS )Nzany valid json)ÚtypeÚdescriptionr   r   r   r   r   Úapi_info   s   
zFallback.api_infoN)Ú__name__Ú
__module__Ú__qualname__r	   r   r   r   r   r   r   r   r   r      s    

r   N)Úgradio.components.baser   r   r   r   r   r   Ú<module>   s    