Skip to content

Commit

Permalink
respond to PR comment- change API call to use public cyto-dl method
Browse files Browse the repository at this point in the history
  • Loading branch information
yrkim98 committed Feb 6, 2024
1 parent 98f6a38 commit f73d1bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/allencell_ml_segmenter/services/prediction_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def _predict_model(self, _: Event) -> None:
cyto_api.override_config(
self.build_overrides(experiment_name, checkpoint_selected)
)
asyncio.run(cyto_api._predict_async())
asyncio.run(cyto_api.predict(run_async=True))

def build_overrides(
self, experiment_name: str, checkpoint: str
Expand Down

0 comments on commit f73d1bc

Please sign in to comment.