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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -45,7 +45,8 @@ def respond(
45
 
46
  output = ""
47
  for chunk in stream:
48
- delta = chunk.choices[0].delta.content or chunk.choices[0].delta.reasoning_content or ""
 
49
  output += delta
50
  yield output
51
 
 
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
52