Implement img2img inference method using by sd15.
This commit is contained in:
@@ -20,6 +20,17 @@ img_by_sd15_txt2img:
|
||||
--fix-by-controlnet-tile "True" \
|
||||
--output-format "avif"
|
||||
|
||||
img_by_sd15_img2img:
|
||||
cd ./sdcli && modal run sd15_img2img.py \
|
||||
--prompt "cat wizard, gandalf, lord of the rings, detailed, fantasy, cute, adorable, Pixar, Disney, 8k" \
|
||||
--n-prompt "" \
|
||||
--samples 1 \
|
||||
--steps 30 \
|
||||
--upscaler "RealESRGAN_x2plus" \
|
||||
--use-face-enhancer "False" \
|
||||
--fix-by-controlnet-tile "True" \
|
||||
--output-format "avif" \
|
||||
--base-image-url "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png"
|
||||
|
||||
img_by_sdxl_txt2img:
|
||||
cd ./sdcli && modal run sdxl_txt2img.py \
|
||||
|
||||
Reference in New Issue
Block a user