mljar / mercury

Convert Jupyter Notebooks to Web Apps

Home Page:https://RunMercury.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not load data at start

Kokerboom opened this issue · comments

Is there any clever workaround how we can prevent notebook from running on start? Like extra button. Putting everything in if would complicate code.

What about adding a Stop and the beginning and some CheckBox

stop_notebook = mr.Checkbox(value=True, label="Switch me")
if stop_notebook.value:
    mr.Stop()

It will let you proceed only if you switch checkbox. What do you think?

For me - prefect!
Thanks for help and interesting presentation at DSS.