Modify a directory structure.

This commit is contained in:
hodanov
2023-06-28 20:18:56 +09:00
parent cbc70d9fd4
commit ef8e613b01
5 changed files with 32 additions and 12 deletions
+11 -2
View File
@@ -1,11 +1,20 @@
deploy:
modal deploy setup.py
# `--upscaler` is a name of upscaler you want to use.
# You can use upscalers the below:
# - `RealESRGAN_x4plus`
# - `RealESRNet_x4plus`
# - `RealESRGAN_x4plus_anime_6B`
# - `RealESRGAN_x2plus`
run:
modal run entrypoint.py \
cd ./sdcli && modal run txt2img.py \
--prompt "a photograph of an astronaut riding a horse" \
--n-prompt "" \
--height 512 \
--width 512 \
--samples 1 \
--steps 50
--steps 50 \
--upscaler "" \
--use-face-enhancer "False" \
--use-hires-fix "False"