fixed a typo

This commit is contained in:
Concedo 2023-05-06 12:37:34 +08:00
parent a48dddab86
commit ff93b394da
2 changed files with 2 additions and 2 deletions

View file

@ -58,7 +58,7 @@ extern "C"
int platform = parseinfo/10; int platform = parseinfo/10;
int devices = parseinfo%10; int devices = parseinfo%10;
platformenv = "GGML_CLBLAST_PLATFORM="+std::to_string(platform); platformenv = "GGML_CLBLAST_PLATFORM="+std::to_string(platform);
deviceenv = "GGML_CLBLAST_DEVICES="+std::to_string(devices); deviceenv = "GGML_CLBLAST_DEVICE="+std::to_string(devices);
putenv((char*)platformenv.c_str()); putenv((char*)platformenv.c_str());
putenv((char*)deviceenv.c_str()); putenv((char*)deviceenv.c_str());
executable_path = inputs.executable_path; executable_path = inputs.executable_path;

View file

@ -196,7 +196,7 @@ maxctx = 2048
maxlen = 128 maxlen = 128
modelbusy = False modelbusy = False
defaultport = 5001 defaultport = 5001
KcppVersion = "1.19" KcppVersion = "1.19.1"
class ServerRequestHandler(http.server.SimpleHTTPRequestHandler): class ServerRequestHandler(http.server.SimpleHTTPRequestHandler):
sys_version = "" sys_version = ""