mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
diffusers: fix set-sampler error following model switch
This commit is contained in:
parent
e99faeb8d7
commit
97dd4a2589
@ -864,8 +864,8 @@ class Generate:
|
||||
self.embedding_path, self.precision == 'float32' or self.precision == 'autocast'
|
||||
)
|
||||
|
||||
self._set_sampler()
|
||||
self.model_name = model_name
|
||||
self._set_sampler() # requires self.model_name to be set first
|
||||
return self.model
|
||||
|
||||
def load_concepts(self,concepts:list[str]):
|
||||
|
Loading…
Reference in New Issue
Block a user