Manjushri commited on
Commit
e48f8e5
1 Parent(s): a786af4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,4 +1,4 @@
1
- from diffusers import StableDiffusionInpaintPipeline
2
  import gradio as gr
3
  import numpy as np
4
  import imageio
@@ -7,7 +7,7 @@ import torch
7
  import modin.pandas as pd
8
 
9
  device = "cuda" if torch.cuda.is_available() else "cpu"
10
- pipe = StableDiffusionInpaintPipeline.from_pretrained("stabilityai/stable-diffusion-2-inpainting", safety_checker=None)
11
  pipe = pipe.to(device)
12
 
13
  def resize(value,img):
 
1
+ from diffusers import StableDiffusionXLInpaintPipeline
2
  import gradio as gr
3
  import numpy as np
4
  import imageio
 
7
  import modin.pandas as pd
8
 
9
  device = "cuda" if torch.cuda.is_available() else "cpu"
10
+ pipe = StableDiffusionXLInpaintPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", safety_checker=None)
11
  pipe = pipe.to(device)
12
 
13
  def resize(value,img):