Update app.py
Browse files
app.py
CHANGED
@@ -39,6 +39,9 @@ import random
|
|
39 |
|
40 |
hf_token = os.getenv("hf_token")
|
41 |
|
|
|
|
|
|
|
42 |
model_pipeline = pipeline(
|
43 |
model="meta-llama/Llama-3.2-1B",
|
44 |
use_auth_token=hf_token
|
|
|
39 |
|
40 |
hf_token = os.getenv("hf_token")
|
41 |
|
42 |
+
from huggingface_hub import login
|
43 |
+
login(token = hf_token)
|
44 |
+
|
45 |
model_pipeline = pipeline(
|
46 |
model="meta-llama/Llama-3.2-1B",
|
47 |
use_auth_token=hf_token
|