eienmojiki commited on
Commit
e33d4fc
·
verified ·
1 Parent(s): f7fc0b2

Update utils/t2i.py

Browse files
Files changed (1) hide show
  1. utils/t2i.py +1 -1
utils/t2i.py CHANGED
@@ -33,7 +33,7 @@ trans_vae = TransparentVAE(t2i_pipe.vae, t2i_pipe.vae.dtype)
33
  trans_vae.load_state_dict(torch.load("./models/TransparentVAE.pth"), strict=False)
34
  trans_vae.to(device)
35
 
36
- @spaces.GPU(duration=75)
37
  def t2i_gen(
38
  prompt: str,
39
  # negative_prompt: str = None,
 
33
  trans_vae.load_state_dict(torch.load("./models/TransparentVAE.pth"), strict=False)
34
  trans_vae.to(device)
35
 
36
+ @spaces.GPU(duration=120)
37
  def t2i_gen(
38
  prompt: str,
39
  # negative_prompt: str = None,