config.json for the model
I got this error when I try to load your model:
OSError: Error no file named config.json found in directory checkpoints/ppt-v2.
It seems you didn't upload the whole model to huggingface
i meet the same issue!
(ppt) ubuntu@ubuntu-System-Product-Name:~/codes/PowerPaint$ python app.py --share --pretrained_model_path checkpoints/ppt-v2
Traceback (most recent call last):
File "/home/ubuntu/codes/PowerPaint/app.py", line 435, in
controller = PowerPaintController(
File "/home/ubuntu/codes/PowerPaint/app.py", line 112, in init
unet=UNet2DConditionModel.from_pretrained(
File "/home/ubuntu/anaconda3/envs/ppt/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
File "/home/ubuntu/anaconda3/envs/ppt/lib/python3.10/site-packages/diffusers/models/modeling_utils.py", line 567, in from_pretrained
config, unused_kwargs, commit_hash = cls.load_config(
File "/home/ubuntu/anaconda3/envs/ppt/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
File "/home/ubuntu/anaconda3/envs/ppt/lib/python3.10/site-packages/diffusers/configuration_utils.py", line 374, in load_config
raise EnvironmentError(
OSError: Error no file named config.json found in directory checkpoints/ppt-v2.