Update app.py
Browse files
app.py
CHANGED
|
@@ -7,6 +7,7 @@ import PIL.Image
|
|
| 7 |
import torch
|
| 8 |
|
| 9 |
from diffusers import StableDiffusionPipeline, AutoencoderKL, AutoencoderTiny
|
|
|
|
| 10 |
|
| 11 |
device = "cuda"
|
| 12 |
weight_type = torch.float16
|
|
|
|
| 7 |
import torch
|
| 8 |
|
| 9 |
from diffusers import StableDiffusionPipeline, AutoencoderKL, AutoencoderTiny
|
| 10 |
+
from peft import PeftModel
|
| 11 |
|
| 12 |
device = "cuda"
|
| 13 |
weight_type = torch.float16
|