tttoaster commited on
Commit
bfa897b
·
verified ·
1 Parent(s): 25c55b9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -368,7 +368,7 @@ def generate(text_list, image_list, max_new_tokens, force_boi, force_bbox, force
368
 
369
  torch.cuda.empty_cache()
370
 
371
- service.vae_pipe = service.vae_pipe.to(self.vit_sd_device)
372
 
373
  init_image = generated_image.resize((1024, 1024))
374
  prompt = ""
 
368
 
369
  torch.cuda.empty_cache()
370
 
371
+ service.vae_pipe = service.vae_pipe.to(service.vit_sd_device)
372
 
373
  init_image = generated_image.resize((1024, 1024))
374
  prompt = ""