diff --git a/scripts/demo/streamlit_helpers.py b/scripts/demo/streamlit_helpers.py index a9ff5e8e..119ffd75 100644 --- a/scripts/demo/streamlit_helpers.py +++ b/scripts/demo/streamlit_helpers.py @@ -47,6 +47,8 @@ def init_st(spec: SamplingSpec, load_ckpt=True, load_filter=True) -> Dict[str, A state["params"] = SamplingParams() if load_filter: state["filter"] = DeepFloydDataFiltering(verbose=False) + else: + state["filter"] = None return state