ford442 commited on
Commit
7e4c3ff
·
verified ·
1 Parent(s): b5968ef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -124,9 +124,10 @@ def load_and_prepare_model(model_id):
124
  #pipeX = StableDiffusionXLPipeline.from_pretrained("SG161222/RealVisXL_V5.0").to(torch.bfloat16)
125
  #pipeX = StableDiffusionXLPipeline.from_pretrained("ford442/Juggernaut-XI-v11-fp32",use_safetensors=True)
126
  pipe = StableDiffusionXLPipeline.from_pretrained(
127
- 'ford442/RealVisXL_V5.0_BF16',
128
  #'ford442/Juggernaut-XI-v11-fp32',
129
  # 'SG161222/RealVisXL_V5.0',
 
130
  #torch_dtype=torch.bfloat16,
131
  add_watermarker=False,
132
  # custom_pipeline="lpw_stable_diffusion_xl",
@@ -250,7 +251,7 @@ def uploadNote(prompt,num_inference_steps,guidance_scale,timestamp):
250
  f.write(f"Use Model Dtype: no \n")
251
  f.write(f"Model Scheduler: Euler_a all_custom before cuda \n")
252
  f.write(f"Model VAE: sdxl-vae to bfloat safetensor=false before cuda then attn_proc / scale factor 8 \n")
253
- f.write(f"Model UNET: default ford442/RealVisXL_V5.0_BF16 \n")
254
  f.write(f"Model HiDiffusion OFF \n")
255
  f.write(f"Model do_resize ON \n")
256
  f.write(f"added torch to prereq and changed accellerate \n")
 
124
  #pipeX = StableDiffusionXLPipeline.from_pretrained("SG161222/RealVisXL_V5.0").to(torch.bfloat16)
125
  #pipeX = StableDiffusionXLPipeline.from_pretrained("ford442/Juggernaut-XI-v11-fp32",use_safetensors=True)
126
  pipe = StableDiffusionXLPipeline.from_pretrained(
127
+ #'ford442/RealVisXL_V5.0_BF16',
128
  #'ford442/Juggernaut-XI-v11-fp32',
129
  # 'SG161222/RealVisXL_V5.0',
130
+ 'John6666/uber-realistic-porn-merge-xl-urpmxl-v3-sdxl',
131
  #torch_dtype=torch.bfloat16,
132
  add_watermarker=False,
133
  # custom_pipeline="lpw_stable_diffusion_xl",
 
251
  f.write(f"Use Model Dtype: no \n")
252
  f.write(f"Model Scheduler: Euler_a all_custom before cuda \n")
253
  f.write(f"Model VAE: sdxl-vae to bfloat safetensor=false before cuda then attn_proc / scale factor 8 \n")
254
+ f.write(f"Model UNET: realistic_porn \n")
255
  f.write(f"Model HiDiffusion OFF \n")
256
  f.write(f"Model do_resize ON \n")
257
  f.write(f"added torch to prereq and changed accellerate \n")