fffiloni commited on
Commit
aa2be82
·
verified ·
1 Parent(s): dcfec2d

Update injection_main.py

Browse files
Files changed (1) hide show
  1. injection_main.py +1 -1
injection_main.py CHANGED
@@ -37,7 +37,7 @@ import omegaconf
37
  import utils.exp_utils
38
  import json
39
 
40
- device = torch.device("cuda")
41
 
42
 
43
  def _get_text_embeddings(prompt: str, tokenizer, text_encoder, device):
 
37
  import utils.exp_utils
38
  import json
39
 
40
+ device = "cuda"
41
 
42
 
43
  def _get_text_embeddings(prompt: str, tokenizer, text_encoder, device):