mobinln commited on
Commit
d107dfb
·
verified ·
1 Parent(s): 4cae061

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -34,6 +34,7 @@ def respond(
34
  messages.append({"role": "user", "content": message})
35
 
36
  try:
 
37
  stream = client.chat.completions.create(
38
  model="Deepseek-R1-0528-Qwen3-8B",
39
  messages=messages,
@@ -45,7 +46,7 @@ def respond(
45
 
46
  output = ""
47
  for chunk in stream:
48
- print(chunk.choices[0])
49
  delta = chunk.choices[0].delta.content or ""
50
  output += delta
51
  yield output
 
34
  messages.append({"role": "user", "content": message})
35
 
36
  try:
37
+ print(messages)
38
  stream = client.chat.completions.create(
39
  model="Deepseek-R1-0528-Qwen3-8B",
40
  messages=messages,
 
46
 
47
  output = ""
48
  for chunk in stream:
49
+ print(chunk)
50
  delta = chunk.choices[0].delta.content or ""
51
  output += delta
52
  yield output