Spaces:
Running
on
Zero
Running
on
Zero
BleachNick
commited on
Commit
•
b91f87b
1
Parent(s):
d1d12e1
upload requirements.txt
Browse files
app.py
CHANGED
@@ -6,9 +6,8 @@ import PIL.Image
|
|
6 |
import numpy as np
|
7 |
from PIL import Image, ImageOps
|
8 |
import os
|
9 |
-
hf_token = os.environ['HF_TOKEN']
|
10 |
|
11 |
-
pipe = StableDiffusion3InstructPix2PixPipeline.from_pretrained("BleachNick/SD3_UltraEdit_w_mask", torch_dtype=torch.float16
|
12 |
|
13 |
|
14 |
@spaces.GPU(duration=120)
|
|
|
6 |
import numpy as np
|
7 |
from PIL import Image, ImageOps
|
8 |
import os
|
|
|
9 |
|
10 |
+
pipe = StableDiffusion3InstructPix2PixPipeline.from_pretrained("BleachNick/SD3_UltraEdit_w_mask", torch_dtype=torch.float16).to("cuda")
|
11 |
|
12 |
|
13 |
@spaces.GPU(duration=120)
|