Text-to-Image
Transformers
Safetensors
qwen2
text-generation
art
text-rendering
text-generation-inference
Instructions to use X-ART/LeX-Enhancer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use X-ART/LeX-Enhancer with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("X-ART/LeX-Enhancer") model = AutoModelForCausalLM.from_pretrained("X-ART/LeX-Enhancer") - Notebooks
- Google Colab
- Kaggle
Correct pipeline tag and add link to Github repo
#1
by nielsr HF Staff - opened
This PR updates the pipeline_tag to text-to-image to more accurately reflect the model's function as a prompt enhancer for text-to-image generation and adds a link to the Github repository.
stzhao changed pull request status to merged