From cbf244c581600f3707d66b8e7e0453fbc93d2010 Mon Sep 17 00:00:00 2001 From: lanbinshijie Date: Wed, 12 Apr 2023 22:03:42 +0800 Subject: [PATCH] fix: Fix Models-cant-import Bug --- .gitignore | 3 +++ main.py | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index b6e4761..d9d181c 100644 --- a/.gitignore +++ b/.gitignore @@ -127,3 +127,6 @@ dmypy.json # Pyre type checker .pyre/ + +.vscode +.vscode/* diff --git a/main.py b/main.py index fa5b120..ee9d4d7 100644 --- a/main.py +++ b/main.py @@ -27,7 +27,8 @@ def IceShell(): commandN = input(Colors.RED + extra + "IShell> " + Colors.END) command = commandN.split(" ") if command[0] in ProgramInfo.registered_modules or "*" in ProgramInfo.registered_modules: - ExecuteModel(" ".join(command[1:]), command[0]) + ExecuteModel(" ".join(command[1:]), command[0]) # 这个代码是不是有点问题? + # ExecuteModel("",commandN) elif command[0] == "q": print("Bye~") exit(0)