ford442 commited on
Commit
295b314
·
verified ·
1 Parent(s): 3b55fd0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -157,7 +157,7 @@ def load_and_prepare_model(model_id):
157
  pipe.to(device)
158
  pipe.to(torch.bfloat16)
159
 
160
- apply_hidiffusion(pipe)
161
 
162
  #pipe.unet.set_default_attn_processor()
163
  #pipe.vae.set_default_attn_processor()
@@ -222,6 +222,7 @@ def uploadNote():
222
  f.write(f"Model Scheduler: Euler_a custom before cuda \n")
223
  f.write(f"Model VAE: SG161222/sdxl_vae \n")
224
  f.write(f"Model UNET: default SG161222/RealVisXL_V5.0 \n")
 
225
  upload_to_ftp(filename)
226
 
227
  @spaces.GPU(duration=30)
 
157
  pipe.to(device)
158
  pipe.to(torch.bfloat16)
159
 
160
+ #apply_hidiffusion(pipe)
161
 
162
  #pipe.unet.set_default_attn_processor()
163
  #pipe.vae.set_default_attn_processor()
 
222
  f.write(f"Model Scheduler: Euler_a custom before cuda \n")
223
  f.write(f"Model VAE: SG161222/sdxl_vae \n")
224
  f.write(f"Model UNET: default SG161222/RealVisXL_V5.0 \n")
225
+ f.write(f"Model HiDiffusion OFF \n")
226
  upload_to_ftp(filename)
227
 
228
  @spaces.GPU(duration=30)