Spaces:
Runtime error
Runtime error
Sudeep s
commited on
Commit
•
00ffe08
1
Parent(s):
2d0ecb2
keep login
Browse files
app.py
CHANGED
@@ -7,8 +7,8 @@ from transformers import MllamaForConditionalGeneration, AutoProcessor
|
|
7 |
import os
|
8 |
from huggingface_hub import login
|
9 |
|
10 |
-
|
11 |
-
|
12 |
|
13 |
# Load the Llama 3.2 Vision Model
|
14 |
def load_llama_model():
|
|
|
7 |
import os
|
8 |
from huggingface_hub import login
|
9 |
|
10 |
+
huggingface_token = os.getenv("SECRET_ENV_VARIABLE")
|
11 |
+
login(huggingface_token)
|
12 |
|
13 |
# Load the Llama 3.2 Vision Model
|
14 |
def load_llama_model():
|