Skip to content

Commit

Permalink
fix: 修复循环引用导致无法使用知识库的问题 , fix #1133 (#1135)
Browse files Browse the repository at this point in the history
Co-authored-by: Thorin <k@modjor.com>
  • Loading branch information
ThorinKong and Thorin committed May 28, 2024
1 parent e46ec4e commit 8a2fd56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@

if TYPE_CHECKING:
from typing import TypedDict
from .models.base_model import BaseLLMModel

class DataframeData(TypedDict):
headers: List[str]
Expand Down Expand Up @@ -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 = "", "", ""
Expand Down

0 comments on commit 8a2fd56

Please sign in to comment.