OSError: Error no file named config.json found in directory /root/.cache/huggingface/hub/models--WarriorMama777--OrangeMixs/snapshots/8a6a193b858b9c52afa339791740ecdc53f8232d.
#90
by
starplatinumora
- opened
import torch
from diffusers import StableDiffusionPipeline
from diffusers import DiffusionPipeline
import numpy as np
model_name="WarriorMama777/OrangeMixs"
pipe = DiffusionPipeline.from_pretrained(model_name)
pipe = pipe.to("cuda")
Any luck on this? Dealing with the same issue
Any luck on this? Dealing with the same issue
I don't know how to handle this, so I later used anything v5
import torch
from diffusers import StableDiffusionPipeline
from diffusers import DiffusionPipeline
import numpy as np
model_name="stablediffusionapi/anything-v5"
pipe = DiffusionPipeline.from_pretrained(model_name, torch_dtype=torch.float16)
pipe = pipe.to("cuda")
Using the Inference API, I'm getting:
Error: /data/models--WarriorMama777--OrangeMixs/snapshots/ec9df50045e9687fd7ea8116db84c4ad5c4a4358 does not appear to have a file named config.json. Checkout 'https://huggingface.co//data/models--WarriorMama777--OrangeMixs/snapshots/ec9df50045e9687fd7ea8116db84c4ad5c4a4358/main' for available files.
Please either provide the missing file, or turn off the inference API.