| language: | |
| - en | |
| license: other | |
| license_name: flux-1-dev-non-commercial-license | |
| license_link: LICENSE.md | |
| extra_gated_prompt: By clicking "Agree", you agree to the [FluxDev Non-Commercial | |
| License Agreement](https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md) | |
| and acknowledge the [Acceptable Use Policy](https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/POLICY.md). | |
| tags: | |
| - text-to-image | |
| - image-generation | |
| - flux | |
| - openvino | |
| - openvino-export | |
| pipeline_tag: text-to-image | |
| base_model: black-forest-labs/FLUX.1-dev | |
| This model was converted to OpenVINO from [`black-forest-labs/FLUX.1-dev`](https://huggingface.co/black-forest-labs/FLUX.1-dev) using [optimum-intel](https://github.com/huggingface/optimum-intel) | |
| via the [export](https://huggingface.co/spaces/echarlaix/openvino-export) space. | |
| First make sure you have optimum-intel installed: | |
| ```bash | |
| pip install optimum[openvino] | |
| ``` | |
| To load your model you can do as follows: | |
| ```python | |
| from optimum.intel import OVDiffusionPipeline | |
| model_id = "TheAverageDetective/FLUX.1-dev-openvino" | |
| model = OVDiffusionPipeline.from_pretrained(model_id) | |
| ``` | |