diff --git a/qanything_kernel/qanything_server/sanic_api.py b/qanything_kernel/qanything_server/sanic_api.py index d421171e..69f5256a 100644 --- a/qanything_kernel/qanything_server/sanic_api.py +++ b/qanything_kernel/qanything_server/sanic_api.py @@ -35,7 +35,7 @@ raise ValueError('mode must be local or online') app = Sanic("QAnything") -# 设置请求体最大为 10MB +# 设置请求体最大为 400MB app.config.REQUEST_MAX_SIZE = 400 * 1024 * 1024