-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use with diffusers #22
Comments
I'm trying to use with diffusers as well, but I'm getting this error: OSError: runwayml/stable-diffusion-v1-5 does not appear to have a file named config.json. |
`import os def setup_flux_pipeline(checkpoint_file, torch_dtype=torch.bfloat16):
def generate_image(pipe, prompt, guidance_scale=3.5, height=816, width=1456, num_inference_steps=8, max_sequence_length=256, seed=0):
def save_image(image, file_name): Exemplo de usoif name == "main":
` |
how to use with python without comfyui or ......? |
It seems I can't get it work with diffusers, do you have any very simple example code to make it works?
Many thanks.
The text was updated successfully, but these errors were encountered: