Skip to content

Commit

Permalink
try updating
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosuc3m committed Nov 23, 2024
1 parent fe05822 commit 18b81ef
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ private void executeScript(String script, Map<String, Object> inputs) {
this.reportLaunch();
try {
if (script.equals("loadModel")) {
System.out.println("STATY IN WORKER LOAD");
update("STATY IN WORKER LOAD", null, null);
pi.loadModel((String) inputs.get("modelFolder"), (String) inputs.get("modelSource"));
} else if (script.equals("inference")) {
System.out.println("STATY IN WORKER");
update("STATY IN WORKER", null, null);
pi.runFromShmas((List<String>) inputs.get("inputs"), (List<String>) inputs.get("outputs"));
} else if (script.equals("close")) {
pi.closeModel();
Expand Down

0 comments on commit 18b81ef

Please sign in to comment.