Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,9 +6,6 @@ import PIL.Image
|
|
| 6 |
import torch
|
| 7 |
|
| 8 |
from diffusers import StableDiffusionPipeline, AutoencoderKL, AutoencoderTiny
|
| 9 |
-
import torch
|
| 10 |
-
|
| 11 |
-
import torch
|
| 12 |
|
| 13 |
device = "cpu" # Linux & Windows
|
| 14 |
weight_type = torch.float32 # torch.float16 works as well, but pictures seem to be a bit worse
|
|
|
|
| 6 |
import torch
|
| 7 |
|
| 8 |
from diffusers import StableDiffusionPipeline, AutoencoderKL, AutoencoderTiny
|
|
|
|
|
|
|
|
|
|
| 9 |
|
| 10 |
device = "cpu" # Linux & Windows
|
| 11 |
weight_type = torch.float32 # torch.float16 works as well, but pictures seem to be a bit worse
|