🤗 Hugging Face diffusers demo based on the tutorial. Read the blog post or Medium story.
brew install python
Clone the repository:
git clone https://github.com/ai-action/hugging-face-diffusers-demo.git
cd hugging-face-diffusers-demo
Create the virtualenv:
python3 -m venv .venv
source .venv/bin/activate
Install the dependencies:
pip install -r requirements.txt
python text_to_image.py
python image_to_image.py
python inpainting.py
DO_NOT_TRACK=1 python text_to_image.py
Clear cache:
rm -rf ~/.cache/huggingface/