AI 이미지 작업, 디코/앱에서 컴터로 옮겼는데..신세계네요 ㅋㅋㅋ

페이지 정보

작성자 썰녀
작성일

본문

컴터에 설치없이..구글신님이 다해주는군요..

스테이블 디퓨전 web UI를 만드신 개발자님도 축복...


https://colab.research.google.com/


개발자가 아니라 코드는 잘모르지만..만들어준 거 보면서 씁니다.

조금느려도 그래픽카드 없는 그램에서 사용가능하다는 점에 감사를...!! ㅠㅠ





--------------------------------------

[콜랩에 추가한 코드 : 1개짜리 통코드인데..클량은 웹주소가 분리되는군요 전체를 복사해서 붙이면 됩니다:)]

!pip install -q https://github.com/camenduru/stable-diffusion-webui-colab/releases/download/0.0.16/xformers-0.0.16+814314d.d20230118-cp38-cp38-linux_x86_64.whl

!pip install -q --pre triton

!git clone -b v1.6 https://github.com/camenduru/stable-diffusion-webui

!wget https://raw.githubusercontent.com/camenduru/stable-diffusion-webui-scripts/main/run_n_times.py-O/content/stable-diffusion-webui/scripts/run_n_times.py

!git clone https://github.com/camenduru/deforum-for-automatic1111-webui/content/stable-diffusion-webui/extensions/deforum-for-automatic1111-webui

!git clone https://github.com/yfszzx/stable-diffusion-webui-images-browser/content/stable-diffusion-webui/extensions/stable-diffusion-webui-images-browser

!git clone https://github.com/camenduru/stable-diffusion-webui-huggingface/content/stable-diffusion-webui/extensions/stable-diffusion-webui-huggingface

!git clone https://github.com/camenduru/sd-civitai-browser/content/stable-diffusion-webui/extensions/sd-civitai-browser

!git clone https://github.com/camenduru/sd-webui-additional-networks/content/stable-diffusion-webui/extensions/sd-webui-additional-networks

%cd /content/stable-diffusion-webui

!wget https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/Models/AbyssOrangeMix2/AbyssOrangeMix2_sfw.safetensors--content-disposition-O/content/stable-diffusion-webui/models/Stable-diffusion/AbyssOrangeMix2_sfw.safetensors

!wget https://huggingface.co/nuigurumi/basil_mix/resolve/main/Basil%20mix.safetensors-O/content/stable-diffusion-webui/models/Stable-diffusion/Basil%20mix.safetensors

!wget https://huggingface.co/dreamlike-art/dreamlike-diffusion-1.0/resolve/main/dreamlike-diffusion-1.0.safetensors-O/content/stable-diffusion-webui/models/Stable-diffusion/dreamlike-diffusion-1.0.safetensors

!wget https://huggingface.co/TASUKU2023/Chilloutmix/resolve/main/Chilloutmix-Ni.safetensors-O/content/stable-diffusion-webui/models/Stable-diffusion/Chilloutmix-Ni.safetensors

!wget https://civitai.com/api/download/models/9070-O /content/stable-diffusion-webui/models/Lora/taiwanDollLikeness_v10.safetensors

!sed -i -e '''/prepare_environment()/a\    os.system\(f\"""sed -i -e ''\"s/dict()))/dict())).cuda()/g\"'' /content/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/util.py""")''' /content/stable-diffusion-webui/launch.py

!python launch.py --share --xformers --enable-insecure-extension-access


관련자료

  • 등록된 댓글이 없습니다.