From 87501c9353ee5c03de5adebe2db7550a4f3bed95 Mon Sep 17 00:00:00 2001 From: carry Date: Sun, 20 Apr 2025 19:14:00 +0800 Subject: [PATCH] =?UTF-8?q?fix(global=5Fvar):=20=E7=A7=BB=E9=99=A4?= =?UTF-8?q?=E5=85=A8=E5=B1=80=E5=8F=98=E9=87=8F=E8=AE=BE=E7=BD=AE=E5=87=BD?= =?UTF-8?q?=E6=95=B0set=5Fdatasets?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 删除了 global_var.py 文件中的 set_datasets 函数 - 该函数用于设置全局变量 _datasets,但似乎已不再使用 --- global_var.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/global_var.py b/global_var.py index 16866ac..6cc4cca 100644 --- a/global_var.py +++ b/global_var.py @@ -37,10 +37,6 @@ def get_docs(): def get_datasets(): return _datasets -def set_datasets(new_datasets): - global _datasets - _datasets = new_datasets - def get_model(): return _model