Skip to content

Commit 7517b9f

Browse files
authored
fix: readme SyntaxError due to missing comma in example (#42)
1 parent e6f5f4b commit 7517b9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ from audio_diffusion_pytorch import DiffusionModel, UNetV0, VDiffusion, VSampler
5151
model = DiffusionModel(
5252
# ... same as unconditional model
5353
use_text_conditioning=True, # U-Net: enables text conditioning (default T5-base)
54-
use_embedding_cfg=True # U-Net: enables classifier free guidance
54+
use_embedding_cfg=True, # U-Net: enables classifier free guidance
5555
embedding_max_length=64, # U-Net: text embedding maximum length (default for T5-base)
5656
embedding_features=768, # U-Net: text mbedding features (default for T5-base)
5757
cross_attentions=[0, 0, 0, 1, 1, 1, 1, 1, 1], # U-Net: cross-attention enabled/disabled at each layer

0 commit comments

Comments
 (0)