add server function

This commit is contained in:
Roy Han
2024-06-28 15:03:53 -07:00
parent c406fa7a4c
commit 49e341147d
4 changed files with 66 additions and 10 deletions

View File

@@ -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;