From 446201411f658195a34dc04546aa470ff1e547be Mon Sep 17 00:00:00 2001 From: dongfeng Date: Thu, 25 Jan 2024 18:43:07 +0800 Subject: [PATCH] Update request max size code annotation --- qanything_kernel/qanything_server/sanic_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qanything_kernel/qanything_server/sanic_api.py b/qanything_kernel/qanything_server/sanic_api.py index 04af4ff0..051138f9 100644 --- a/qanything_kernel/qanything_server/sanic_api.py +++ b/qanything_kernel/qanything_server/sanic_api.py @@ -69,7 +69,7 @@ raise ValueError('mode must be local or online') app = Sanic("QAnything") -# 设置请求体最大为 10MB +# 设置请求体最大为 400MB app.config.REQUEST_MAX_SIZE = 400 * 1024 * 1024 # CORS中间件,用于在每个响应中添加必要的头信息