Spaces:
Runtime error
Runtime error
Vishnu Sarukkai
commited on
Commit
•
17cb476
1
Parent(s):
d97135c
Gpu
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ from PIL import Image
|
|
7 |
import os
|
8 |
|
9 |
negative_prompt = ""
|
10 |
-
device = '
|
11 |
controlnet = ControlNetModel.from_pretrained("vsanimator/sketch-a-sketch").to(device)
|
12 |
pipe = StableDiffusionControlNetPipeline.from_pretrained(
|
13 |
"runwayml/stable-diffusion-v1-5",
|
|
|
7 |
import os
|
8 |
|
9 |
negative_prompt = ""
|
10 |
+
device = 'cuda:0'
|
11 |
controlnet = ControlNetModel.from_pretrained("vsanimator/sketch-a-sketch").to(device)
|
12 |
pipe = StableDiffusionControlNetPipeline.from_pretrained(
|
13 |
"runwayml/stable-diffusion-v1-5",
|