Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -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 = StableDiffusionXLInpaintPipeline.from_pretrained("stabilityai/
|
11 |
pipe = pipe.to(device)
|
12 |
|
13 |
def resize(value,img):
|
|
|
7 |
import modin.pandas as pd
|
8 |
|
9 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
10 |
+
pipe = StableDiffusionXLInpaintPipeline.from_pretrained("stabilityai/sdxl-turbo", safety_checker=None)
|
11 |
pipe = pipe.to(device)
|
12 |
|
13 |
def resize(value,img):
|