wifix199 commited on
Commit
0cf8141
·
verified ·
1 Parent(s): e2f8f8a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ from diffusers import StableDiffusionPipeline
3
  import gradio as gr
4
 
5
  # Use the CompVis stable-diffusion-v1-4 model
6
- model_id = "CompVis/stable-diffusion-v1-4"
7
  pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float32) # float32 for CPU
8
  pipe.to("cpu") # Ensure it runs on CPU
9
 
 
3
  import gradio as gr
4
 
5
  # Use the CompVis stable-diffusion-v1-4 model
6
+ model_id = "prompthero/openjourney"
7
  pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float32) # float32 for CPU
8
  pipe.to("cpu") # Ensure it runs on CPU
9