Josebert commited on
Commit
59f597a
·
verified ·
1 Parent(s): b41623b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ import requests
5
  # Retrieve the API token from environment variables
6
  model_repo_id = os.getenv("MODEL_REPO_ID")
7
  if not model_repo_id:
8
- raise ValueError("MODEL_REPO_ID token not found. Please set the API_TOKEN environment variable.")
9
 
10
  # Hugging Face Inference API Details
11
  API_URL = "https://api-inference.huggingface.co/models/meta-llama/Llama-3.2-1B-Instruct"
 
5
  # Retrieve the API token from environment variables
6
  model_repo_id = os.getenv("MODEL_REPO_ID")
7
  if not model_repo_id:
8
+ raise ValueError("MODEL_REPO_ID token not found. Please set the MODEL_REPO_ID environment variable.")
9
 
10
  # Hugging Face Inference API Details
11
  API_URL = "https://api-inference.huggingface.co/models/meta-llama/Llama-3.2-1B-Instruct"