JCai commited on
Commit
3ee559d
·
1 Parent(s): 6cadba0

update api token

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ HF_ACCESS = os.getenv("HF_ACCESS")
15
 
16
  # Inference client setup
17
  client = InferenceClient(model="mistralai/Mistral-Small-Instruct-2409",
18
- # api_key=HF_ACCESS
19
  )
20
  pipe = pipeline("text-generation", "microsoft/Phi-3-mini-4k-instruct", torch_dtype=torch.bfloat16, device_map="auto")
21
 
 
15
 
16
  # Inference client setup
17
  client = InferenceClient(model="mistralai/Mistral-Small-Instruct-2409",
18
+ token=HF_ACCESS
19
  )
20
  pipe = pipeline("text-generation", "microsoft/Phi-3-mini-4k-instruct", torch_dtype=torch.bfloat16, device_map="auto")
21