mirror of
https://github.com/Stability-AI/generative-models.git
synced 2026-02-02 04:14:27 +01:00
fix missing index
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user