Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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('
|
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 |
|