Mmanikandan commited on
Commit
09fc204
·
verified ·
1 Parent(s): c6db39f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ import torch
3
  from diffusers import StableDiffusionPipeline
4
 
5
  # Load smaller, faster model
6
- model_id = "stabilityai/stable-diffusion-1-4"
7
  pipe = StableDiffusionPipeline.from_pretrained(model_id).to("cpu")
8
 
9
  # Inference function with portrait image size
 
3
  from diffusers import StableDiffusionPipeline
4
 
5
  # Load smaller, faster model
6
+ model_id = "runwayml/stable-diffusion-v1-5"
7
  pipe = StableDiffusionPipeline.from_pretrained(model_id).to("cpu")
8
 
9
  # Inference function with portrait image size