waitmandot commited on
Commit
5ab9668
·
verified ·
1 Parent(s): cf8c8e0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -4,7 +4,7 @@ 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("meta-llama/Llama-3.3-70B-Instruct")
8
 
9
 
10
  def respond(
@@ -57,6 +57,7 @@ demo = gr.ChatInterface(
57
  label="Top-p (nucleus sampling)",
58
  ),
59
  ],
 
60
  )
61
 
62
 
 
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("meta-llama/Llama-3.1-8B-Instruct")
8
 
9
 
10
  def respond(
 
57
  label="Top-p (nucleus sampling)",
58
  ),
59
  ],
60
+ type="messages"
61
  )
62
 
63