Spaces:
Sleeping
Sleeping
prabinpanta0
commited on
Commit
•
70eed76
1
Parent(s):
ea6f382
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ if not HF_TOKEN:
|
|
10 |
raise ValueError("The HF environment variable is not set. Please set it to your Hugging Face token.")
|
11 |
|
12 |
# Authenticate with Hugging Face
|
13 |
-
login(HF_TOKEN)
|
14 |
|
15 |
# Load the model and tokenizer using the Hugging Face token
|
16 |
model_name = "google/gemma-7b-it"
|
|
|
10 |
raise ValueError("The HF environment variable is not set. Please set it to your Hugging Face token.")
|
11 |
|
12 |
# Authenticate with Hugging Face
|
13 |
+
login(HF_TOKEN, add_to_git_credential=True)
|
14 |
|
15 |
# Load the model and tokenizer using the Hugging Face token
|
16 |
model_name = "google/gemma-7b-it"
|