[`Research Project`] Add AnyText: Multilingual Visual Text Generation And Editing #8998
Add initial template
6e8088f6
Second template
98c2d6ed
feat: Add TextEmbeddingModule to AnyTextPipeline
867bbbfd
feat: Add AuxiliaryLatentModule template to AnyTextPipeline
8818372d
Merge branch 'main' into Add-AnyText
37c46d8b
Add bert tokenizer from the anytext repo for now
64c63ebd
feat: Update AnyTextPipeline's modify_prompt method
92f8b792
Fill in the `forward` pass of `AuxiliaryLatentModule`
e9c688c0
`make style && make quality`
42a41d01
`chore: Update bert_tokenizer.py with a TODO comment suggesting the u…
9d50f808
Merge branch 'main' into Add-AnyText
22aa69a3
Update error handling to raise and logging
5e1e515a
Add `create_glyph_lines` function into `TextEmbeddingModule`
2d10f0c2
make style
bc197a93
Up
e52d8cce
Up
8c69d83c
Up
4a413aab
Up
571608be
Merge branch 'main' into Add-AnyText
2b1b50db
Remove several comments
a7d025f7
refactor: Remove ControlNetConditioningEmbedding and update code acco…
d2c5a65e
Merge branch 'main' into Add-AnyText
c1f538c0
Up
2607b6b8
Up
a9fe4a05
up
567f553c
refactor: Update AnyTextPipeline to include new optional parameters
a9991d05
Merge branch 'main' into Add-AnyText
e69c51e3
up
91252e03
Merge branch 'main' into Add-AnyText
e54f876f
feat: Add OCR model and its components
b9164e3e
chore: Update `TextEmbeddingModule` to include OCR model components a…
cd4c9c22
chore: Update `AuxiliaryLatentModule` to include VAE model and its de…
0918cbd8
`make style`
37ae99fa
Merge branch 'main' into Add-AnyText
15fd4df8
Merge branch 'main' into Add-AnyText
2e40224a
refactor: Update `AnyTextPipeline`'s docstring
b475a3b6
Update `AuxiliaryLatentModule` to include info dictionary so that tex…
ea957f08
simplify
cc0c6e59
`make style`
52fb0b4d
Merge branch 'main' into Add-AnyText
187473d8
Converting `TextEmbeddingModule` to ordinary `encode_prompt()` function
9dd4ee90
Simplify for now
7dbd4bc4
`make style`
f4224234
Merge branch 'main' into Add-AnyText
62bb2a05
Up
84660095
feat: Add scripts to convert AnyText controlnet to diffusers
2b4be7a7
Merge branch 'main' into Add-AnyText
d4718fd9
`make style`
1cdbb55a
Fix: Move glyph rendering to `TextEmbeddingModule` from `AuxiliaryLat…
da67ff7b
make style
af30f0f6
Up
a8dbbe20
Merge branch 'main' of github.com:huggingface/diffusers into Add-AnyText
12fca1ce
Merge branch 'main' into Add-AnyText
bbfe8f2f
Simplify
936c2ff6
Merge branch 'main' into Add-AnyText
73d81444
Up
cffa0361
feat: Add safetensors module for loading model file
8b43bc34
Fix device issues
f60a72bf
Up
be4a319b
Merge branch 'main' into Add-AnyText
18d3f608
Up
f7131713
merge
da9adbb6
Merge branch 'main' into Add-AnyText
fdf0275a
refactor: Simplify
f347ff2e
refactor: Simplify code for loading models and handling data types
d52e9737
`make style`
a3b493f8
Merge branch 'main' into Add-AnyText
020074ab
refactor: Update to() method in FrozenCLIPEmbedderT3 and TextEmbeddin…
4267c848
refactor: Update dtype in embedding_manager.py to match proj.weight
ab512260
Merge branch 'main' of github.com:huggingface/diffusers
c961a96c
Merge branch 'main' into Add-AnyText
3873d02e
Merge branch 'main' of github.com:huggingface/diffusers
5041d400
Up
1521e8f5
Merge branch 'main' into Add-AnyText
1aa17bbb
Merge branch 'main' into Add-AnyText
c13c61d3
Merge branch 'main' into Add-AnyText
1d18f1d7
Merge branch 'main' into Add-AnyText
44a3a70a
Add attribution and adaptation information to pipeline_anytext.py
56992d11
Update usage example
7ad68658
Will refactor `controlnet_cond_embedding` initialization
a5edca5d
Merge branch 'main' into Add-AnyText
48e88eb9
Add `AnyTextControlNetConditioningEmbedding` template
2f42e402
Refactor organization
670fef5d
style
930c37ad
Merge branch 'main' into Add-AnyText
923da7b9
style
21c0c35d
Move custom blocks from `AuxiliaryLatentModule` to `AnyTextControlNet…
c4db96a3
Merge branch 'main' into Add-AnyText
e2e7160c
Merge branch 'main' into Add-AnyText
4335ebda
Follow one-file policy
6bd0b4cd
style
b3f98a77
Merge branch 'main' into Add-AnyText
cccf0f48
Merge branch 'main' into Add-AnyText
b5856a67
Merge branch 'main' into Add-AnyText
b04d015e
Merge branch 'main' into Add-AnyText
67f8839c
Merge branch 'main' into Add-AnyText
d75508eb
[Docs] Update README and pipeline_anytext.py to use AnyTextControlNet…
75a0f1f6
[Docs] Update import statement for AnyTextControlNetModel in pipeline…
d3dcf57f
[Fix] Update import path for ControlNetModel, ControlNetOutput in any…
963fac0b
Merge branch 'main' of github.com:huggingface/diffusers into Add-AnyText
0c941437
Refactor AnyTextControlNet to use configurable conditioning embedding…
2b6f08ba
Merge branch 'main' into Add-AnyText
971d6ad8
Complete control net conditioning embedding in AnyTextControlNetModel
9c43a652
Merge branch 'main' into Add-AnyText
d46ac3e8
Merge branch 'main' into Add-AnyText
2ffb80b2
up
b8ca0d67
[FIX] Ensure embeddings use correct device in AnyTextControlNetModel
9657980a
up
25ea8be7
up
2be7bca1
style
0fc4aabe
[UPDATE] Revise README and example code for AnyTextPipeline integrati…
5345702d
[UPDATE] Update example code in anytext.py to use correct font file a…
5b73a1d9
down
7f87755d
[UPDATE] Refactor BasicTokenizer usage to a new Checker class for tex…
61693a58
update pillow
3b2435fd
[UPDATE] Remove commented-out code and unnecessary docstring in anyte…
3ea49c15
[REMOVE] Delete frozen_clip_embedder_t3.py as it is in the anytext.py…
299a646d
[UPDATE] Replace edict with dict for configuration in anytext.py and …
0d44b5ba
🆙
13b7ecf2
style
d5a6e5f0
[UPDATE] Revise README.md for clarity, remove unused imports in anyte…
09fdd222
Merge branch 'main' into Add-AnyText
f8f5edd0
style
9495ddb9
tolgacangoz
marked this pull request as ready for review 1 year ago
Merge branch 'main' into Add-AnyText
13ab2485
a-r-r-o-w
approved these changes
on 2025-03-01
Update examples/research_projects/anytext/README.md
f4abaf21
Remove commented-out image preparation code in AnyTextPipeline
8d313bce
Remove unnecessary blank line in README.md
d02615f1
Merge branch 'main' into Add-AnyText
52aa9241
Merge branch 'main' into Add-AnyText
78447b2f
Merge branch 'main' into Add-AnyText
3e3f9724
a-r-r-o-w
approved these changes
on 2025-03-10
a-r-r-o-w
merged
b88fef47
into main 1 year ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub