Instructions to use CiaraRowles/TemporalNet with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use CiaraRowles/TemporalNet with Diffusers:
pip install -U diffusers transformers accelerate
from diffusers import ControlNetModel, StableDiffusionControlNetPipeline controlnet = ControlNetModel.from_pretrained("CiaraRowles/TemporalNet") pipe = StableDiffusionControlNetPipeline.from_pretrained( "runwayml/stable-diffusion-v1-5", controlnet=controlnet ) - Notebooks
- Google Colab
- Kaggle
Error: AttributeError: 'int' object has no attribute 'enabled'
Error running process: Z:\stable-diffusion-webui-master\extensions\sd-webui-controlnet\scripts\controlnet.py
Traceback (most recent call last):
File "Z:\stable-diffusion-webui-master\modules\scripts.py", line 417, in process
script.process(p, *script_args)
File "Z:\stable-diffusion-webui-master\extensions\sd-webui-controlnet\scripts\controlnet.py", line 628, in process
unit = self.parse_remote_call(p, unit, idx)
File "Z:\stable-diffusion-webui-master\extensions\sd-webui-controlnet\scripts\controlnet.py", line 540, in parse_remote_call
unit.enabled = selector(p, "control_net_enabled", unit.enabled, idx, strict=True)
AttributeError: 'int' object has no attribute 'enabled'
I'm having this error every time it renders a frame and I don't have any clue about how to solve it. Can someone please help me?
@Stkzzzz222 maybe same as this problem: https://github.com/Mikubill/sd-webui-controlnet/issues/675
First update your webui to latest version,
than you must have the same controlnet unit in the api as in the UI settings: 'Multi ControlNet: Max models amount',
and just add 'enable': False to the units you don't need in api.