Update app.py
Browse filesRemove reference to safe tensors
app.py
CHANGED
|
@@ -4,7 +4,7 @@ from diffusers import StableDiffusionControlNetPipeline, ControlNetModel, UniPCM
|
|
| 4 |
import torch
|
| 5 |
torch.backends.cuda.matmul.allow_tf32 = True
|
| 6 |
|
| 7 |
-
controlnet = ControlNetModel.from_pretrained("JFoz/dog-cat-pose", torch_dtype=torch.float16
|
| 8 |
|
| 9 |
pipe = StableDiffusionControlNetPipeline.from_pretrained(
|
| 10 |
"runwayml/stable-diffusion-v1-5",
|
|
|
|
| 4 |
import torch
|
| 5 |
torch.backends.cuda.matmul.allow_tf32 = True
|
| 6 |
|
| 7 |
+
controlnet = ControlNetModel.from_pretrained("JFoz/dog-cat-pose", torch_dtype=torch.float16)
|
| 8 |
|
| 9 |
pipe = StableDiffusionControlNetPipeline.from_pretrained(
|
| 10 |
"runwayml/stable-diffusion-v1-5",
|