Chris4K commited on
Commit
5480240
1 Parent(s): efa7515

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
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