add server function
This commit is contained in:
8
llm/ext_server/server.cpp
vendored
8
llm/ext_server/server.cpp
vendored
@@ -3165,14 +3165,6 @@ int main(int argc, char **argv) {
|
||||
{
|
||||
input = "";
|
||||
}
|
||||
if (body.count("input") != 0)
|
||||
{
|
||||
input = body["input"];
|
||||
}
|
||||
else
|
||||
{
|
||||
input = "";
|
||||
}
|
||||
|
||||
// create and queue the task
|
||||
json responses;
|
||||
|
||||
Reference in New Issue
Block a user