Modify README and Makefile.

This commit is contained in:
hodanov
2023-12-29 13:12:36 +09:00
parent 5269f74630
commit 16cda3a7e2
3 changed files with 14 additions and 14 deletions
+4 -4
View File
@@ -1,5 +1,5 @@
app:
cd ./setup_files && modal deploy __main__.py
cd ./app && modal deploy __main__.py
# `--upscaler` is a name of upscaler you want to use.
# You can use upscalers the below:
@@ -8,7 +8,7 @@ app:
# - `RealESRGAN_x4plus_anime_6B`
# - `RealESRGAN_x2plus`
img_by_sd15_txt2img:
cd ./sdcli && modal run sd15_txt2img.py \
cd ./cmd && modal run sd15_txt2img.py \
--prompt "a photograph of an astronaut riding a horse" \
--n-prompt "" \
--height 512 \
@@ -21,7 +21,7 @@ img_by_sd15_txt2img:
--output-format "avif"
img_by_sd15_img2img:
cd ./sdcli && modal run sd15_img2img.py \
cd ./cmd && modal run sd15_img2img.py \
--prompt "cat wizard, gandalf, lord of the rings, detailed, fantasy, cute, adorable, Pixar, Disney, 8k" \
--n-prompt "" \
--samples 1 \
@@ -33,7 +33,7 @@ img_by_sd15_img2img:
--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 \
cd ./cmd && modal run sdxl_txt2img.py \
--prompt "A dog is running on the grass" \
--height 1024 \
--width 1024 \