echarlaix's picture
echarlaix HF staff
add model
c359e88
|
raw
history blame
641 Bytes
metadata
license: creativeml-openrail-m
tags:
  - stable-diffusion
  - text-to-image
  - openvino

Stable Diffusion v1-5 Model for OpenVINO

A fork of runwayml/stable-diffusion-v1-5 exported to OpenVINO using Optimum Intel 🤗

from optimum.intel.openvino import OVStableDiffusionPipeline

model_id = "echarlaix/stable-diffusion-v1-5-openvino"
pipe = OVStableDiffusionPipeline.from_pretrained(model_id)
prompt = "sailing ship in storm by Rembrandt"
image = pipe(prompt).images[0]
    
image.save("sailing_ship.png")