Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ from PIL import Image
|
|
4 |
from diffusers import StableDiffusionInstructPix2PixPipeline
|
5 |
|
6 |
# Define the path to the SafeTensor model
|
7 |
-
model_path = "/content/
|
8 |
|
9 |
# Load the SafeTensor model
|
10 |
safe_pipe = StableDiffusionInstructPix2PixPipeline.from_pretrained(model_path, torch_dtype=torch.float16, safety_checker=None).to("cuda")
|
|
|
4 |
from diffusers import StableDiffusionInstructPix2PixPipeline
|
5 |
|
6 |
# Define the path to the SafeTensor model
|
7 |
+
model_path = "/content/uberRealisticPornMerge_urpmv12.instruct-pix2pix.safetensors"
|
8 |
|
9 |
# Load the SafeTensor model
|
10 |
safe_pipe = StableDiffusionInstructPix2PixPipeline.from_pretrained(model_path, torch_dtype=torch.float16, safety_checker=None).to("cuda")
|