Spaces:
Runtime error
Runtime error
Update app.py
Browse files14 unmodified lines151617181819202114 unmodified lines raise ValueError("HUGGINGFACE_API_TOKEN environment variable is not set")
# Load model and tokenizer from Hugging Face Model Hub with authenticationmodel_name = "meta-llama/Meta-Llama-3-70B-Instruct"model_name = "meta-llama/Meta-Llama-3-8B"tokenizer = AutoTokenizer.from_pretrained(model_name, use_auth_token=api_token)model = AutoModelForCausalLM.from_pretrained(model_name, use_auth_token=api_token)
app.py+1-1