Instructions to use knoxcs/stable-diffusion-webui-knox with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use knoxcs/stable-diffusion-webui-knox with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("knoxcs/stable-diffusion-webui-knox", dtype="auto") - Notebooks
- Google Colab
- Kaggle
| FROM ubuntu:latest | |
| VOLUME /app/webui | |
| WORKDIR /app/webui | |
| RUN apt-get update | |
| RUN apt-get install -y python3 libgoogle-perftools4 \ | |
| libtcmalloc-minimal4 git python3-pip ffmpeg libsm6 libxext6 \ | |
| && adduser webui-user | |
| RUN pip install --no-cache-dir --upgrade pip \ | |
| && pip install --no-cache-dir packaging==21.3 \ | |
| && pip install --no-cache-dir httpx==0.24.1 | |
| EXPOSE 7860 | |
| USER webui-user | |
| RUN git config --global --add safe.directory /app/webui | |
| CMD ["./run.sh"] |