From 4463c30f9da64d2989a7a7ad5405453b7d59e4ab Mon Sep 17 00:00:00 2001 From: "majiahui@haimaqingfan.com" Date: Mon, 11 Sep 2023 16:37:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=9B=AE=E5=BD=95=E8=AF=B7?= =?UTF-8?q?=E6=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- flask_batch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flask_batch.py b/flask_batch.py index 38633ff..51914a5 100644 --- a/flask_batch.py +++ b/flask_batch.py @@ -100,7 +100,7 @@ def handle_query(): @app.route("/articles_directory", methods=["POST"]) -def handle_query(): +def articles_directory(): text = request.json["texts"] # 获取用户query中的文本 例如"I love you" nums = request.json["nums"]