From 02f379efb4536702f0ccd16198aeb9eddea20e2e Mon Sep 17 00:00:00 2001 From: "majiahui@haimaqingfan.com" Date: Wed, 8 Mar 2023 17:17:10 +0800 Subject: [PATCH] =?UTF-8?q?V1.0=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- flask_predict_no_batch_t5.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flask_predict_no_batch_t5.py b/flask_predict_no_batch_t5.py index 860318c..e196151 100644 --- a/flask_predict_no_batch_t5.py +++ b/flask_predict_no_batch_t5.py @@ -206,7 +206,7 @@ def predict_data_post_processing(text_list): return_list = {} sentence_one = [] - sentence_id = "0" + sentence_id = text_list_sentence[0][1] for i in text_list_sentence: if i[1] == sentence_id: sentence_one.append(i[0])