Spaces:
Runtime error
Runtime error
Will work? Using Inference API
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ def greet(name):
|
|
13 |
def create_waifu(prompt):
|
14 |
pipe = StableDiffusionPipeline.from_pretrained(
|
15 |
'hakurei/waifu-diffusion',
|
16 |
-
torch_dtype=torch.
|
17 |
)
|
18 |
|
19 |
image = pipe(prompt, guidance_scale=6)[0][0]
|
|
|
13 |
def create_waifu(prompt):
|
14 |
pipe = StableDiffusionPipeline.from_pretrained(
|
15 |
'hakurei/waifu-diffusion',
|
16 |
+
torch_dtype=torch.float16
|
17 |
)
|
18 |
|
19 |
image = pipe(prompt, guidance_scale=6)[0][0]
|