huangmingming
2023-01-29 15fd6cdf1ac6737d92ae88a9147c0f6f7044e0ad
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
B
$¯cU    ã@sPdZddlZddlZGdd„deƒZGdd„deƒZdd„ZGd    d
„d
eƒZdS) zEClient and server classes corresponding to protobuf-defined services.éNc@seZdZdZdd„ZdS)ÚASRStubz8Missing associated documentation comment in .proto file.cCs|jdtjjtjjd|_dS)zIConstructor.
 
        Args:
            channel: A grpc.Channel.
        z/paraformer.ASR/Recognize)Zrequest_serializerZresponse_deserializerN)Ú stream_streamÚparaformer__pb2ÚRequestÚSerializeToStringÚResponseÚ
FromStringÚ    Recognize)ÚselfÚchannel©r úMD:\work\arch\FunASR-dyyzhmm\funasr\runtime\python\grpc\paraformer_pb2_grpc.pyÚ__init__ szASRStub.__init__N)Ú__name__Ú
__module__Ú __qualname__Ú__doc__rr r r r rsrc@seZdZdZdd„ZdS)Ú ASRServicerz8Missing associated documentation comment in .proto file.cCs$| tjj¡| d¡tdƒ‚dS)z8Missing associated documentation comment in .proto file.zMethod not implemented!N)Zset_codeÚgrpcZ
StatusCodeZ UNIMPLEMENTEDZ set_detailsÚNotImplementedError)r
Úrequest_iteratorÚcontextr r r r    s
zASRServicer.RecognizeN)rrrrr    r r r r rsrcCs:dtj|jtjjtjjdi}t d|¡}|     |f¡dS)Nr    )Zrequest_deserializerZresponse_serializerzparaformer.ASR)
rZ stream_stream_rpc_method_handlerr    rrrrrZmethod_handlers_generic_handlerZadd_generic_rpc_handlers)ZservicerZserverZrpc_method_handlersZgeneric_handlerr r r Úadd_ASRServicer_to_server"src    @seZdZdZeddd„ƒZdS)ÚASRz8Missing associated documentation comment in .proto file.r NFc
 
Cs,tj ||dtjjtjj||||||||    ¡ S)Nz/paraformer.ASR/Recognize)rZ experimentalrrrrrr)
rÚtargetÚoptionsZchannel_credentialsZcall_credentialsZinsecureÚ compressionZwait_for_readyÚtimeoutÚmetadatar r r r    3s
z ASR.Recognize)r NNFNNNN)rrrrÚ staticmethodr    r r r r r0sr)    rrÚparaformer_pb2rÚobjectrrrrr r r r Ú<module>s