pabloce commited on
Commit
189ce5d
·
verified ·
1 Parent(s): 559c9c0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -44,7 +44,8 @@ def respond(
44
  )
45
  outputs = ""
46
  for output in stream:
47
- outputs += output["choices"][0]["text"]
 
48
  yield outputs
49
  # from llama_cpp import Llama
50
  # from llama_cpp_agent import LlamaCppAgent
 
44
  )
45
  outputs = ""
46
  for output in stream:
47
+ print(output)
48
+ outputs += output["choices"][0]["delta"]
49
  yield outputs
50
  # from llama_cpp import Llama
51
  # from llama_cpp_agent import LlamaCppAgent