kz209 commited on
Commit
09f135e
1 Parent(s): 2b167f5
Files changed (1) hide show
  1. utils/model.py +3 -1
utils/model.py CHANGED
@@ -3,7 +3,9 @@ import transformers
3
  import torch
4
 
5
  from huggingface_hub import login
6
- login(token = 'HF_TOKEN')
 
 
7
 
8
  class Model(torch.nn.Module):
9
  number_of_models = 0
 
3
  import torch
4
 
5
  from huggingface_hub import login
6
+ import os
7
+
8
+ login(token = os.getenv('HF_TOKEN'))
9
 
10
  class Model(torch.nn.Module):
11
  number_of_models = 0