smileycutie0 commited on
Commit
eae8352
·
verified ·
1 Parent(s): 158f9d8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -4,6 +4,7 @@ from huggingface_hub import InferenceClient
4
  client = InferenceClient("HuggingFaceTB/SmolLM2-1.7B-Instruct")
5
 
6
  def chat(message, history):
 
7
  stream = client.chat.completions.create(
8
  messages=history,
9
  max_tokens=1024,
 
4
  client = InferenceClient("HuggingFaceTB/SmolLM2-1.7B-Instruct")
5
 
6
  def chat(message, history):
7
+ print(history)
8
  stream = client.chat.completions.create(
9
  messages=history,
10
  max_tokens=1024,