from diffusers import DiffusionPipeline from huggingface_hub import hf_hub_download import joblib REPO_ID = "https://huggingface.co/wk12k/test" FILENAME = "sklearn_model.joblib" pipe = DiffusionPipeline.from_pretrained("OnomaAIResearch/Illustrious-xl-early-release-v0") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] model = image( hf_hub_download(repo_id=REPO_ID, filename=FILENAME) )