Spaces:
Sleeping
Sleeping
kz209
commited on
Commit
•
09f135e
1
Parent(s):
2b167f5
update
Browse files- 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 |
-
|
|
|
|
|
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
|