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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -8,8 +8,8 @@ from huggingface_hub import InferenceClient
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
 
14
 
15
  def respond(
 
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("iGeniusAI/Italia-9B-Instruct-v0.1", token=access_token)
13
 
14
 
15
  def respond(