Spaces:
Runtime error
Runtime error
aronvandepol
commited on
Commit
•
4b3c7fe
1
Parent(s):
2d31996
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,8 @@ import random
|
|
3 |
import os
|
4 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
5 |
|
6 |
-
auth_token = os.environ['TOKEN']
|
|
|
7 |
|
8 |
model = AutoModelForCausalLM.from_pretrained("aronvandepol/K-GPT125M", use_auth_token=auth_token)
|
9 |
|
|
|
3 |
import os
|
4 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
5 |
|
6 |
+
auth_token = os.environ['TOKEN']
|
7 |
+
print(auth_token)
|
8 |
|
9 |
model = AutoModelForCausalLM.from_pretrained("aronvandepol/K-GPT125M", use_auth_token=auth_token)
|
10 |
|