diff --git a/binomialbias/app.py b/binomialbias/app.py index 703b8eb..0d4ba5f 100644 --- a/binomialbias/app.py +++ b/binomialbias/app.py @@ -137,8 +137,7 @@ def make_ui(*args, **kwargs): ui.output_table('stats_table'), ), ), - ui.output_text_verbatim('debug_text'), # Hidden unless debug = True above - ui.output_text_verbatim('reconcile'), # Hidden unless debug = True above TEMP + ui.output_text_verbatim('debug_text'), # Hidden unless debug = True above, but needed for reactivity ), ) ), @@ -294,10 +293,11 @@ def stats_table(): @output @sh.render.text def debug_text(): - """ Debugging """ + """ Debugging -- which also happens to handle the reactivity! """ import os u = get_ui() + # Handle automatic updates if input.autoupdate(): with sh.reactive.isolate(): reconcile_inputs()