| | --- |
| | license: creativeml-openrail-m |
| | tags: |
| | - stable-diffusion |
| | - stable-diffusion-diffusers |
| | - text-to-image |
| | inference: true |
| | extra_gated_prompt: >- |
| | This model is open access and available to all, with a CreativeML OpenRAIL-M |
| | license further specifying rights and usage. |
| | |
| | The CreativeML OpenRAIL License specifies: |
| |
|
| |
|
| | 1. You can't use the model to deliberately produce nor share illegal or |
| | harmful outputs or content |
| |
|
| | 2. CompVis claims no rights on the outputs you generate, you are free to use |
| | them and are accountable for their use which must not go against the |
| | provisions set in the license |
| |
|
| | 3. You may re-distribute the weights and use the model commercially and/or as |
| | a service. If you do, please be aware you have to include the same use |
| | restrictions as the ones in the license and share a copy of the CreativeML |
| | OpenRAIL-M to all your users (please read the license entirely and carefully) |
| |
|
| | Please read the full license carefully here: |
| | https://huggingface.co/spaces/CompVis/stable-diffusion-license |
| | |
| | extra_gated_heading: Please read the LICENSE to access this model |
| | library_name: diffusers |
| | --- |
| | |
| | # Folks Diffusion v1-5 Model Card |
| |
|
| |
|
| |
|
| |
|
| | ### Diffusers |
| | ```py |
| | from diffusers import StableDiffusionPipeline |
| | import torch |
| | |
| | model_id = "theastro/folks-diffusion-v1-5" |
| | pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16) |
| | pipe = pipe.to("cuda") |
| | |
| | prompt = "a photo of folks, like an astronaut riding a horse on mars" |
| | image = pipe(prompt).images[0] |
| | |
| | image.save("a portrait image of folks") |
| | ``` |
| |
|
| |
|
| | *This model card was written by: Matheus Ranielli and is based on the [runwaynl model v1.5].* |