Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ import random
|
|
9 |
#from diffusers import DiffusionPipeline
|
10 |
from diffusers import StableDiffusionXLPipeline, TCDScheduler
|
11 |
from huggingface_hub import hf_hub_download
|
12 |
-
|
13 |
|
14 |
MAX_SEED = np.iinfo(np.int32).max
|
15 |
MAX_IMAGE_SIZE = 1216
|
|
|
9 |
#from diffusers import DiffusionPipeline
|
10 |
from diffusers import StableDiffusionXLPipeline, TCDScheduler
|
11 |
from huggingface_hub import hf_hub_download
|
12 |
+
from peft import LoraConfig, get_peft_model
|
13 |
|
14 |
MAX_SEED = np.iinfo(np.int32).max
|
15 |
MAX_IMAGE_SIZE = 1216
|