Skip to content

Commit

Permalink
fix flavor parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
lfoppiano committed Feb 8, 2025
1 parent 3702e4d commit ae0c18e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2051,8 +2051,7 @@ public static void main(String[] args) {
String flavor = args[4];
parsedFlavor = GrobidModels.Flavor.fromLabel(flavor);
if (parsedFlavor == null) {
System.err.println("Invalid value for flavor: " + flavor + ". Omit or correct the parameter. ");
return;
System.out.println("Flavor was not specified, or was empty. Using default Grobid process. ");
} else {
System.out.println("Setting flavor to: " + parsedFlavor);
}
Expand Down

0 comments on commit ae0c18e

Please sign in to comment.