Instructions to use metafresh89/qr-code with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use metafresh89/qr-code with Diffusers:
pip install -U diffusers transformers accelerate
from diffusers import ControlNetModel, StableDiffusionControlNetPipeline controlnet = ControlNetModel.from_pretrained("metafresh89/qr-code") pipe = StableDiffusionControlNetPipeline.from_pretrained( "fill-in-base-model", controlnet=controlnet ) - Notebooks
- Google Colab
- Kaggle
Commit ·
12b99cc
1
Parent(s): 85db375
Update config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -24,7 +24,7 @@
|
|
| 24 |
"CrossAttnDownBlock2D",
|
| 25 |
"DownBlock2D"
|
| 26 |
],
|
| 27 |
-
"model_type": "",
|
| 28 |
"downsample_padding": 1,
|
| 29 |
"flip_sin_to_cos": true,
|
| 30 |
"freq_shift": 0,
|
|
|
|
| 24 |
"CrossAttnDownBlock2D",
|
| 25 |
"DownBlock2D"
|
| 26 |
],
|
| 27 |
+
"model_type": "ctrl",
|
| 28 |
"downsample_padding": 1,
|
| 29 |
"flip_sin_to_cos": true,
|
| 30 |
"freq_shift": 0,
|