userlollolol1 commited on
Commit
2460daa
·
verified ·
1 Parent(s): 076dd7b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -4,8 +4,8 @@ from huggingface_hub import InferenceClient
4
  """
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
- client = InferenceClient("google/flan-t5-small")
8
-
9
 
10
  def respond(
11
  message,
 
4
  """
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
+ hf_token = os.getenv("apikey")
8
+ client = InferenceClient(token=hf_token, model="google/gemma-3-1b-it")
9
 
10
  def respond(
11
  message,