Skip to content

Commit

Permalink
Run attention generator tests without spaCy
Browse files Browse the repository at this point in the history
dynamicprompts v0.26.0+ doesn't require spaCy for attention, so we can test it in CI here too
  • Loading branch information
akx committed Jan 16, 2024
1 parent 58c0a92 commit ef21e88
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tests/prompts/test_attention_generator.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
import pytest

from sd_dynamic_prompts.attention_generator import SpecialSyntaxAwareAttentionGenerator


@pytest.mark.slow
def test_default_generator():
pytest.importorskip("spacy")
generator = SpecialSyntaxAwareAttentionGenerator()
for prompt in generator.generate(
"purple cat singing opera, artistic, painting "
Expand Down

0 comments on commit ef21e88

Please sign in to comment.