From 90d49431d76ea7946ae368509a4ddb785d8c2d11 Mon Sep 17 00:00:00 2001 From: Zac Li Date: Tue, 16 Jan 2024 11:38:32 +0800 Subject: [PATCH] fix: issue in gcp app --- jina/serve/runtimes/worker/http_gcp_app.py | 1 - 1 file changed, 1 deletion(-) diff --git a/jina/serve/runtimes/worker/http_gcp_app.py b/jina/serve/runtimes/worker/http_gcp_app.py index a2f403525679b..ada61bd6a6c4e 100644 --- a/jina/serve/runtimes/worker/http_gcp_app.py +++ b/jina/serve/runtimes/worker/http_gcp_app.py @@ -129,7 +129,6 @@ async def process(body) -> output_model: raise HTTPException(status_code=499, detail=status.description) else: return {"predictions": resp.docs} - return output_model(predictions=resp.docs) @app.api_route(**app_kwargs) async def post(request: Request):