Skip to content

Commit

Permalink
ctrl-c reminder
Browse files Browse the repository at this point in the history
  • Loading branch information
mccalluc committed Oct 18, 2024
1 parent b98acd9 commit 382cad2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dp_creator_ii/app/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,15 @@
)


def ctrl_c_reminder():
print("Session ended (Press CTRL+C to quit)")


def server(input, output, session):
dataset_panel.dataset_server(input, output, session)
analysis_panel.analysis_server(input, output, session)
results_panel.results_server(input, output, session)
session.on_ended(ctrl_c_reminder)


app = App(app_ui, server)

0 comments on commit 382cad2

Please sign in to comment.