giustinod commited on
Commit
53268fc
·
verified ·
1 Parent(s): d1b4525

Using auth token

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ from huggingface_hub import InferenceClient
5
  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
6
  """
7
  model_id = "azservice/TestLogica-Pdfs"
8
- client = InferenceClient(model_id)
9
 
10
  def respond(
11
  message,
 
5
  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
6
  """
7
  model_id = "azservice/TestLogica-Pdfs"
8
+ client = InferenceClient(model_id, token=hf_token)
9
 
10
  def respond(
11
  message,