MaykaGR commited on
Commit
5849186
·
verified ·
1 Parent(s): 9e57630

Update comfypulid.py

Browse files
Files changed (1) hide show
  1. comfypulid.py +5 -0
comfypulid.py CHANGED
@@ -4,6 +4,11 @@ import sys
4
  from typing import Sequence, Mapping, Any, Union
5
  import torch
6
  from huggingface_hub import hf_hub_download
 
 
 
 
 
7
 
8
  torch.device('cpu')
9
  os.environ['CUDA_VISIBLE_DEVICES'] = '-1'
 
4
  from typing import Sequence, Mapping, Any, Union
5
  import torch
6
  from huggingface_hub import hf_hub_download
7
+ import os
8
+ from huggingface_hub import login
9
+
10
+ login(token=os.environ.get("token"))
11
+
12
 
13
  torch.device('cpu')
14
  os.environ['CUDA_VISIBLE_DEVICES'] = '-1'