diffusers 0.20.0__py3-none-any.whl → 0.20.1__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
diffusers/__init__.py CHANGED
@@ -1,4 +1,4 @@
1
- __version__ = "0.20.0"
1
+ __version__ = "0.20.1"
2
2
 
3
3
  from .configuration_utils import ConfigMixin
4
4
  from .utils import (
@@ -723,7 +723,7 @@ class ControlNetModel(ModelMixin, ConfigMixin, FromOriginalControlnetMixin):
723
723
  class_emb = self.class_embedding(class_labels).to(dtype=self.dtype)
724
724
  emb = emb + class_emb
725
725
 
726
- if "addition_embed_type" in self.config:
726
+ if self.config.addition_embed_type is not None:
727
727
  if self.config.addition_embed_type == "text":
728
728
  aug_emb = self.add_embedding(encoder_hidden_states)
729
729
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: diffusers
3
- Version: 0.20.0
3
+ Version: 0.20.1
4
4
  Summary: Diffusers
5
5
  Home-page: https://github.com/huggingface/diffusers
6
6
  Author: The HuggingFace team
@@ -1,4 +1,4 @@
1
- diffusers/__init__.py,sha256=G3gSb6VYCQ--sW0RloO4D4QV7HsgufSgZhkBRbfQ1Qg,9685
1
+ diffusers/__init__.py,sha256=sOP6-WaH-euiTX1tvp4Aj_MFhcgFNbUj8niwr04BZYM,9685
2
2
  diffusers/configuration_utils.py,sha256=XVNu9l-ioOaO6W6UyApFRk-Y1RUwPXlMIbJf4sGdKHM,31504
3
3
  diffusers/dependency_versions_check.py,sha256=T2AQMFfOGMCULAqRAE8zf1VE5j7GFxxs7SfEuhTY4lA,1756
4
4
  diffusers/dependency_versions_table.py,sha256=ttlU4PY3JGnaFl26QoOxhzRcCRzdg4ltQLuVyawA2lI,1460
@@ -23,7 +23,7 @@ diffusers/models/attention_processor.py,sha256=0p_7RsKXQeQxxh5jj-C0HA8taKUgljw9a
23
23
  diffusers/models/autoencoder_asym_kl.py,sha256=VS8BkYq5coSDuTvDKJ3WZa6PhycHykDKsUrLdgCbrg4,7507
24
24
  diffusers/models/autoencoder_kl.py,sha256=rsi2R0GV0Z2Pcd3G8A4Ljx82IPnwQWxJkwp3D6T3Bks,18410
25
25
  diffusers/models/autoencoder_tiny.py,sha256=-HGFTIR3JNr1iYSCBxxMDab5-HRJGEWnk7f4rCJsrVE,9009
26
- diffusers/models/controlnet.py,sha256=BbdC4YmOcPtm5GxNJrPv3Nr2MCRslWaNMf1t1qgfedQ,40405
26
+ diffusers/models/controlnet.py,sha256=-vy7zPOF8tGcnUNDgBaOWgAAhT7lv2dWrLWG6paAfEA,40412
27
27
  diffusers/models/controlnet_flax.py,sha256=yS5DkE5VvM_n-0HpwFN_ggZOROl66pADnig43eAtjEQ,16468
28
28
  diffusers/models/dual_transformer_2d.py,sha256=EEDHA1AjpCov0TA8sSFbQYLUO2x5UpnqRnj-9hR-Cy4,7297
29
29
  diffusers/models/embeddings.py,sha256=fH0rHukXYytmFW_DaFq9DsGCb6BX-cVLRmYirT_Zkh8,21514
@@ -266,9 +266,9 @@ diffusers/utils/outputs.py,sha256=l5RdKO6SRnnz7fsXsmmnkOyCf_0z35kwfkDbnhCFeAc,36
266
266
  diffusers/utils/pil_utils.py,sha256=mNv1FfHvtdW-lpOemxwe-dNoSfSF_sptgpYELP-bA20,1979
267
267
  diffusers/utils/testing_utils.py,sha256=BxLL0YuazUzhhbhJkgtsysF9tUTFHv_mtxqKm0TdIUc,23936
268
268
  diffusers/utils/torch_utils.py,sha256=semCcoTgfqvJgCSNMxJsAq7V5xNrSNbpHECgB8ykLcc,3542
269
- diffusers-0.20.0.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
270
- diffusers-0.20.0.dist-info/METADATA,sha256=MVE4JTcDxCBnIrlWXbLuZgoTaROqxmSTPBjrQ2pMdWQ,17879
271
- diffusers-0.20.0.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
272
- diffusers-0.20.0.dist-info/entry_points.txt,sha256=_1bvshKV_6_b63_FAkcUs9W6tUKGeIoQ3SHEZsovEWs,72
273
- diffusers-0.20.0.dist-info/top_level.txt,sha256=axJl2884vMSvhzrFrSoht36QXA_6gZN9cKtg4xOO72o,10
274
- diffusers-0.20.0.dist-info/RECORD,,
269
+ diffusers-0.20.1.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
270
+ diffusers-0.20.1.dist-info/METADATA,sha256=A9nREV4lTTMUnIGClA6QWzK8OMUttF53QNdU0--e9kk,17879
271
+ diffusers-0.20.1.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
272
+ diffusers-0.20.1.dist-info/entry_points.txt,sha256=_1bvshKV_6_b63_FAkcUs9W6tUKGeIoQ3SHEZsovEWs,72
273
+ diffusers-0.20.1.dist-info/top_level.txt,sha256=axJl2884vMSvhzrFrSoht36QXA_6gZN9cKtg4xOO72o,10
274
+ diffusers-0.20.1.dist-info/RECORD,,