├── .gitignore ├── LICENSE ├── README.md ├── assets ├── arial.ttf ├── teaser_info.png └── teaser_slide.png ├── bizgen ├── custom_diffusers │ ├── __init__.py │ ├── models │ │ ├── __init__.py │ │ ├── byt5_block_byt5_mapper.py │ │ └── region_attention_glyph_attention_forward.py │ ├── modules │ │ └── cross_attn_insert_basic_transformer_block.py │ └── pipelines │ │ ├── __init__.py │ │ └── pipeline_glyph_stable_diffusion_xl_bizgen.py └── utils │ ├── __init__.py │ ├── background_dirsync.py │ ├── constants.py │ ├── draw.py │ ├── load_byt5_and_byt5_tokenizer.py │ └── parse_config.py ├── config └── bizgen_base.py ├── glyph ├── color_idx.json └── font_uni_10-lang_idx.json ├── inference.py ├── meta ├── README.md ├── infographics.json ├── infographics_multilang.json ├── slides.json └── slides_multilang.json └── requirements.txt /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1230young/bizgen/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1230young/bizgen/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1230young/bizgen/HEAD/README.md -------------------------------------------------------------------------------- /assets/arial.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1230young/bizgen/HEAD/assets/arial.ttf -------------------------------------------------------------------------------- /assets/teaser_info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1230young/bizgen/HEAD/assets/teaser_info.png -------------------------------------------------------------------------------- /assets/teaser_slide.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1230young/bizgen/HEAD/assets/teaser_slide.png -------------------------------------------------------------------------------- /bizgen/custom_diffusers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1230young/bizgen/HEAD/bizgen/custom_diffusers/__init__.py -------------------------------------------------------------------------------- /bizgen/custom_diffusers/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1230young/bizgen/HEAD/bizgen/custom_diffusers/models/__init__.py -------------------------------------------------------------------------------- /bizgen/custom_diffusers/models/byt5_block_byt5_mapper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1230young/bizgen/HEAD/bizgen/custom_diffusers/models/byt5_block_byt5_mapper.py -------------------------------------------------------------------------------- /bizgen/custom_diffusers/models/region_attention_glyph_attention_forward.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1230young/bizgen/HEAD/bizgen/custom_diffusers/models/region_attention_glyph_attention_forward.py -------------------------------------------------------------------------------- /bizgen/custom_diffusers/modules/cross_attn_insert_basic_transformer_block.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1230young/bizgen/HEAD/bizgen/custom_diffusers/modules/cross_attn_insert_basic_transformer_block.py -------------------------------------------------------------------------------- /bizgen/custom_diffusers/pipelines/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1230young/bizgen/HEAD/bizgen/custom_diffusers/pipelines/__init__.py -------------------------------------------------------------------------------- /bizgen/custom_diffusers/pipelines/pipeline_glyph_stable_diffusion_xl_bizgen.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1230young/bizgen/HEAD/bizgen/custom_diffusers/pipelines/pipeline_glyph_stable_diffusion_xl_bizgen.py -------------------------------------------------------------------------------- /bizgen/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1230young/bizgen/HEAD/bizgen/utils/__init__.py -------------------------------------------------------------------------------- /bizgen/utils/background_dirsync.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1230young/bizgen/HEAD/bizgen/utils/background_dirsync.py -------------------------------------------------------------------------------- /bizgen/utils/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1230young/bizgen/HEAD/bizgen/utils/constants.py -------------------------------------------------------------------------------- /bizgen/utils/draw.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1230young/bizgen/HEAD/bizgen/utils/draw.py -------------------------------------------------------------------------------- /bizgen/utils/load_byt5_and_byt5_tokenizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1230young/bizgen/HEAD/bizgen/utils/load_byt5_and_byt5_tokenizer.py -------------------------------------------------------------------------------- /bizgen/utils/parse_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1230young/bizgen/HEAD/bizgen/utils/parse_config.py -------------------------------------------------------------------------------- /config/bizgen_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1230young/bizgen/HEAD/config/bizgen_base.py -------------------------------------------------------------------------------- /glyph/color_idx.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1230young/bizgen/HEAD/glyph/color_idx.json -------------------------------------------------------------------------------- /glyph/font_uni_10-lang_idx.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1230young/bizgen/HEAD/glyph/font_uni_10-lang_idx.json -------------------------------------------------------------------------------- /inference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1230young/bizgen/HEAD/inference.py -------------------------------------------------------------------------------- /meta/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1230young/bizgen/HEAD/meta/README.md -------------------------------------------------------------------------------- /meta/infographics.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1230young/bizgen/HEAD/meta/infographics.json -------------------------------------------------------------------------------- /meta/infographics_multilang.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1230young/bizgen/HEAD/meta/infographics_multilang.json -------------------------------------------------------------------------------- /meta/slides.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1230young/bizgen/HEAD/meta/slides.json -------------------------------------------------------------------------------- /meta/slides_multilang.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1230young/bizgen/HEAD/meta/slides_multilang.json -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1230young/bizgen/HEAD/requirements.txt --------------------------------------------------------------------------------