Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -6,6 +6,9 @@ import PIL.Image
|
|
6 |
import numpy as np
|
7 |
from PIL import Image, ImageOps
|
8 |
import os
|
|
|
|
|
|
|
9 |
pipe = StableDiffusion3InstructPix2PixPipeline.from_pretrained("BleachNick/SD3_UltraEdit_w_mask", torch_dtype=torch.float16).to("cuda")
|
10 |
|
11 |
|
|
|
6 |
import numpy as np
|
7 |
from PIL import Image, ImageOps
|
8 |
import os
|
9 |
+
import transformers
|
10 |
+
transformers.utils.move_cache()
|
11 |
+
|
12 |
pipe = StableDiffusion3InstructPix2PixPipeline.from_pretrained("BleachNick/SD3_UltraEdit_w_mask", torch_dtype=torch.float16).to("cuda")
|
13 |
|
14 |
|