just trying one more thing

#2
by Klariiii - opened
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -9,12 +9,12 @@ def respond(
9
  max_tokens,
10
  temperature,
11
  top_p,
12
- hf_token: gr.OAuthToken,
13
  ):
14
  """
15
  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
16
  """
17
- client = InferenceClient(token=hf_token.token, model="Ana8413/model")
18
 
19
  messages = [{"role": "system", "content": system_message}]
20
 
 
9
  max_tokens,
10
  temperature,
11
  top_p,
12
+ hf_token: None,
13
  ):
14
  """
15
  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
16
  """
17
+ client = InferenceClient(model="Ana8413/model")
18
 
19
  messages = [{"role": "system", "content": system_message}]
20