Views
No views yet
from diffusers import StableDiffusionPipeline
import torch
model_id = "akhilsharma/raja_ravi_verma"
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16).to("cuda")
prompt = "raja_ravi_verma painting of a girl, standing by a tree, river in the background ,ultra realistic, concept art, intricate details, eerie, highly detailed, photorealistic, 8 k"
image = pipe(prompt2, num_inference_steps=100, guidance_scale=7.5).images[0]
image.save("painting.png")