From 8a2fd5681354fdbb2e2e9ee9fbb0aae8d600c453 Mon Sep 17 00:00:00 2001 From: NME! Date: Wed, 29 May 2024 01:49:29 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=BE=AA=E7=8E=AF?= =?UTF-8?q?=E5=BC=95=E7=94=A8=E5=AF=BC=E8=87=B4=E6=97=A0=E6=B3=95=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E7=9F=A5=E8=AF=86=E5=BA=93=E7=9A=84=E9=97=AE=E9=A2=98?= =?UTF-8?q?=20,=20fix=20#1133=20(#1135)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Thorin --- modules/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/utils.py b/modules/utils.py index 74c0e3ca..805c8d2f 100644 --- a/modules/utils.py +++ b/modules/utils.py @@ -31,6 +31,7 @@ if TYPE_CHECKING: from typing import TypedDict + from .models.base_model import BaseLLMModel class DataframeData(TypedDict): headers: List[str] @@ -1429,7 +1430,6 @@ def reboot_chuanhu(): os.execl(sys.executable, sys.executable, *sys.argv) -from .models.base_model import BaseLLMModel def setPlaceholder(model_name: str | None = "", model: BaseLLMModel | None = None): from .webui import get_html logo_class, slogan_class, question_class = "", "", ""