ingsimo commited on
Commit
dc5c3d3
·
verified ·
1 Parent(s): d813bc1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ from huggingface_hub import InferenceClient
7
  """
8
  For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference
9
  """
10
- access_token=os.getenv('AI')
11
  model = AutoModel.from_pretrained("iGeniusAI/Italia-9B-Instruct-v0.1", token=access_token)
12
  client = InferenceClient(model)
13
 
 
7
  """
8
  For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference
9
  """
10
+ access_token=os.getenv('MODEL_REPO_ID')
11
  model = AutoModel.from_pretrained("iGeniusAI/Italia-9B-Instruct-v0.1", token=access_token)
12
  client = InferenceClient(model)
13