sidthegirlkid commited on
Commit
80e56ca
1 Parent(s): 450eb7c

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. llama-app.py +1 -1
llama-app.py CHANGED
@@ -83,7 +83,7 @@ locale.getpreferredencoding = lambda: "UTF-8"
83
 
84
  model = "meta-llama/Llama-2-7b-chat-hf" # meta-llama/Llama-2-7b-chat-hf
85
 
86
- huggingface_hub.login(os.environ.__getattribute__("API_TOKEN"))
87
 
88
  tokenizer = AutoTokenizer.from_pretrained(model, use_auth_token=True)
89
 
 
83
 
84
  model = "meta-llama/Llama-2-7b-chat-hf" # meta-llama/Llama-2-7b-chat-hf
85
 
86
+ huggingface_hub.login(os.environ["API_TOKEN"])
87
 
88
  tokenizer = AutoTokenizer.from_pretrained(model, use_auth_token=True)
89