Skip to content

Commit

Permalink
update launchplan
Browse files Browse the repository at this point in the history
Signed-off-by: Niels Bantilan <[email protected]>
  • Loading branch information
cosmicBboy committed Jul 11, 2023
1 parent d029720 commit 2407e5c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scipy-2023/workflows/example_intro.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,11 @@ def training_workflow(
return model, train_acc, test_acc


training_launchplan = LaunchPlan.create(
"scheduled_training_workflow",
training_launchplan = LaunchPlan.get_or_create(
training_workflow,

name="scheduled_training_workflow",

# run every 2 minutes
schedule=CronSchedule(schedule="*/2 * * * *"),

Expand Down

0 comments on commit 2407e5c

Please sign in to comment.