Skip to content

Commit 18b81ef

Browse files
committed
try updating
1 parent fe05822 commit 18b81ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/io/bioimage/modelrunner/pytorch/javacpp/JavaWorker.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,10 @@ private void executeScript(String script, Map<String, Object> inputs) {
8787
this.reportLaunch();
8888
try {
8989
if (script.equals("loadModel")) {
90-
System.out.println("STATY IN WORKER LOAD");
90+
update("STATY IN WORKER LOAD", null, null);
9191
pi.loadModel((String) inputs.get("modelFolder"), (String) inputs.get("modelSource"));
9292
} else if (script.equals("inference")) {
93-
System.out.println("STATY IN WORKER");
93+
update("STATY IN WORKER", null, null);
9494
pi.runFromShmas((List<String>) inputs.get("inputs"), (List<String>) inputs.get("outputs"));
9595
} else if (script.equals("close")) {
9696
pi.closeModel();

0 commit comments

Comments
 (0)