R-Kentaren commited on
Commit
6376e4d
·
verified ·
1 Parent(s): f96a832
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -12,13 +12,13 @@ def respond(
12
  temperature,
13
  top_p,
14
  model="Qwen/Qwen3-Coder-480B-A35B-Instruct",
15
- token=api_key
16
  ):
17
  """
18
  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
19
  """
20
 
21
- login(api_key)
22
  client = InferenceClient(model)
23
  messages = [
24
  {
 
12
  temperature,
13
  top_p,
14
  model="Qwen/Qwen3-Coder-480B-A35B-Instruct",
15
+ token,
16
  ):
17
  """
18
  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
19
  """
20
 
21
+ login(token)
22
  client = InferenceClient(model)
23
  messages = [
24
  {