From 5d51e752f4c5c429f6da1dc3dfdca06cebaa7081 Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Fri, 1 Sep 2023 14:36:36 +0300 Subject: [PATCH] #144 Increase max content length limit --- server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.py b/server.py index f0e4d8f..6d677c6 100644 --- a/server.py +++ b/server.py @@ -316,7 +316,7 @@ if "chromadb" in modules: app = Flask(__name__) CORS(app) # allow cross-domain requests Compress(app) # compress responses -app.config["MAX_CONTENT_LENGTH"] = 100 * 1024 * 1024 +app.config["MAX_CONTENT_LENGTH"] = 500 * 1024 * 1024 max_content_length = ( args.max_content_length