Update app.py
Browse files
app.py
CHANGED
@@ -7,8 +7,10 @@ import random
|
|
7 |
|
8 |
use_auth_token=True
|
9 |
|
|
|
10 |
from huggingface_hub import login
|
11 |
-
|
|
|
12 |
|
13 |
torch.backends.cudnn.deterministic = True
|
14 |
torch.backends.cudnn.benchmark = False
|
|
|
7 |
|
8 |
use_auth_token=True
|
9 |
|
10 |
+
import os
|
11 |
from huggingface_hub import login
|
12 |
+
|
13 |
+
login(token=os.getenv("HF_TOKEN"))
|
14 |
|
15 |
torch.backends.cudnn.deterministic = True
|
16 |
torch.backends.cudnn.benchmark = False
|