Spaces:
Runtime error
Runtime error
Download text-to-image-with-template.sh from JingyeChen22/TextDiffuser: direct link, hf CLI and curl.
- Browser
- Download file 321 Bytes
-
https://huggingface.co/spaces/JingyeChen22/TextDiffuser/resolve/main/text-to-image-with-template.sh
- Command line
-
hf download hf://spaces/JingyeChen22/TextDiffuser/text-to-image-with-template.sh
-
curl -L -o text-to-image-with-template.sh https://huggingface.co/spaces/JingyeChen22/TextDiffuser/resolve/main/text-to-image-with-template.sh
321 Bytes
| CUDA_VISIBLE_DEVICES=0 python inference.py \ | |
| --mode="text-to-image-with-template" \ | |
| --resume_from_checkpoint="textdiffuser-ckpt/diffusion_backbone" \ | |
| --prompt="a poster of monkey music festival" \ | |
| --template_image="assets/examples/text-to-image-with-template/case2.jpg" \ | |
| --output_dir="./output" \ | |
| --vis_num=4 |