Spaces:
Runtime error
Runtime error
Update injection_main.py
Browse files- 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 =
|
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):
|