Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,8 +5,7 @@ from diffusers import StableDiffusionPipeline
|
|
5 |
|
6 |
#model_id = "hakurei/waifu-diffusion"
|
7 |
pipe = StableDiffusionPipeline.from_pretrained("hakurei/waifu-diffusion", torch_type=torch.float16, revision="fp16")
|
8 |
-
|
9 |
-
#torch.backends.cudnn.benchmark = True
|
10 |
num_samples = 2
|
11 |
|
12 |
def infer(prompt):
|
|
|
5 |
|
6 |
#model_id = "hakurei/waifu-diffusion"
|
7 |
pipe = StableDiffusionPipeline.from_pretrained("hakurei/waifu-diffusion", torch_type=torch.float16, revision="fp16")
|
8 |
+
torch.backends.cudnn.benchmark = True
|
|
|
9 |
num_samples = 2
|
10 |
|
11 |
def infer(prompt):
|