JingyeChen22 commited on
Commit
d66f64c
1 Parent(s): cc859d1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -376,12 +376,12 @@ text_encoder21 = CLIPTextModel.from_pretrained(
376
 
377
  vae15 = AutoencoderKL.from_pretrained('runwayml/stable-diffusion-v1-5', subfolder="vae", revision=args.revision).cuda()
378
  unet15 = UNet2DConditionModel.from_pretrained(
379
- 'textdiffuser-ckpt/diffusion_backbone_1.5', subfolder="unet", revision=None
380
  ).cuda()
381
 
382
  vae21 = AutoencoderKL.from_pretrained('stabilityai/stable-diffusion-2-1', subfolder="vae", revision=args.revision).cuda()
383
  unet21 = UNet2DConditionModel.from_pretrained(
384
- 'textdiffuser-ckpt/diffusion_backbone_2.1', subfolder="unet", revision=None
385
  ).cuda()
386
 
387
  scheduler15 = DDPMScheduler.from_pretrained('runwayml/stable-diffusion-v1-5', subfolder="scheduler")
 
376
 
377
  vae15 = AutoencoderKL.from_pretrained('runwayml/stable-diffusion-v1-5', subfolder="vae", revision=args.revision).cuda()
378
  unet15 = UNet2DConditionModel.from_pretrained(
379
+ './textdiffuser-ckpt/diffusion_backbone_1.5', subfolder="unet", revision=None
380
  ).cuda()
381
 
382
  vae21 = AutoencoderKL.from_pretrained('stabilityai/stable-diffusion-2-1', subfolder="vae", revision=args.revision).cuda()
383
  unet21 = UNet2DConditionModel.from_pretrained(
384
+ './textdiffuser-ckpt/diffusion_backbone_2.1', subfolder="unet", revision=None
385
  ).cuda()
386
 
387
  scheduler15 = DDPMScheduler.from_pretrained('runwayml/stable-diffusion-v1-5', subfolder="scheduler")