diff --git a/comps/lvms/src/opea_lvm_microservice.py b/comps/lvms/src/opea_lvm_microservice.py index a86e97f22e..170dd40a56 100644 --- a/comps/lvms/src/opea_lvm_microservice.py +++ b/comps/lvms/src/opea_lvm_microservice.py @@ -98,7 +98,7 @@ async def stream_forwarder(response, time_start): @register_statistics(names=["opea_service@lvm"]) async def lvm( request: Union[LVMDoc, LVMSearchedMultimodalDoc, LVMVideoDoc] -) -> Union[TextDoc, MetadataTextDoc]: # can also return a StreamingResponse but omit it in annotation for FastAPI +) -> Union[TextDoc, MetadataTextDoc]: # can also return a StreamingResponse but omit it in annotation for FastAPI start = time.time() try: