Instructions to use FudanCVL/GlyphPrinter with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use FudanCVL/GlyphPrinter with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("FudanCVL/GlyphPrinter", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Add model card for GlyphPrinter
#1
by nielsr HF Staff - opened
Hi! I'm Niels from the Hugging Face community science team. I noticed this repository was missing a model card, so I've opened this PR to add one. This model card includes metadata to improve discoverability, links to the paper and project pages, and sample usage instructions based on the official repository. Feel free to merge this if it looks good!