arshadrana commited on
Commit
ca52800
·
verified ·
1 Parent(s): 11b7ff9

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 StableDiffusionXLImg2ImgPipeline
3
  import gradio as gr
4
 
5
  # Load the model
6
- model_id = "stabilityai/stable-diffusion-3-medium-diffusers"
7
  pipe = StableDiffusionXLImg2ImgPipeline.from_pretrained(model_id, torch_dtype=torch.float16).to("cuda")
8
 
9
  # Define the inference function
 
3
  import gradio as gr
4
 
5
  # Load the model
6
+ model_id = "stabilityai/stable-diffusion-xl-base-1.0"
7
  pipe = StableDiffusionXLImg2ImgPipeline.from_pretrained(model_id, torch_dtype=torch.float16).to("cuda")
8
 
9
  # Define the inference function