Spaces:
Running
Running
cryptocalypse
commited on
Commit
•
036a73b
1
Parent(s):
f6603fd
Update gen.py
Browse files
gen.py
CHANGED
@@ -5,7 +5,7 @@ from transformers import AutoModelForCausalLM, AutoTokenizer, BitsAndBytesConfig
|
|
5 |
import json
|
6 |
|
7 |
# Get the HF_TOKEN from the environment variable (set by the Space)
|
8 |
-
hf_token = os.getenv("
|
9 |
|
10 |
tokenizer = AutoTokenizer.from_pretrained('google/gemma-2-2b-it', use_auth_token=hf_token)
|
11 |
|
|
|
5 |
import json
|
6 |
|
7 |
# Get the HF_TOKEN from the environment variable (set by the Space)
|
8 |
+
hf_token = os.getenv("ACCESS")
|
9 |
|
10 |
tokenizer = AutoTokenizer.from_pretrained('google/gemma-2-2b-it', use_auth_token=hf_token)
|
11 |
|