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