xbarusui commited on
Commit
0edfd6f
·
verified ·
1 Parent(s): 2bec834

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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