This example integrates Rerun into Hugging Face's ControlNet example. ControlNet allows to condition Stable Diffusion on various modalities. In this example we condition on edges detected by the Canny edge detector.
To run this example use
pip install -r examples/python/controlnet/requirements.txt python examples/python/controlnet/main.py
You can specify your own image and prompts using
main.py [--img_path IMG_PATH] [--prompt PROMPT] [--negative_prompt NEGATIVE_PROMPT]