Skip to content

Commit

Permalink
Merge pull request #69 from DS4SD/fix/accept-empty-nlp-models
Browse files Browse the repository at this point in the history
updated the glm to accept an empty model-string without error or warn…
  • Loading branch information
PeterStaar-IBM authored Aug 30, 2024
2 parents 00ec2c9 + 5e1bdf8 commit 9ec1ec4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "deepsearch-glm"
version = "0.19.0"
version = "0.19.1"
description = "Graph Language Models"
authors = ["Peter Staar <[email protected]>"]
license = "MIT"
Expand Down
4 changes: 4 additions & 0 deletions src/andromeda/nlp/utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,10 @@ namespace andromeda
{
model_names = utils::split(expr, ';');
}
else if(expr.size()==0)
{
model_names = {};
}
else
{
model_names = {expr};
Expand Down

0 comments on commit 9ec1ec4

Please sign in to comment.