pabloce commited on
Commit
95538cb
·
verified ·
1 Parent(s): 47bcbe2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -54,7 +54,7 @@ def respond(
54
  completion_to_prompt=completion_to_prompt,
55
  verbose=True,
56
  )
57
- let response = ""
58
  for chunk in llm.stream_chat(chat_template):
59
  print(chunk.delta, end="", flush=True)
60
  response += str(chunk.delta)
 
54
  completion_to_prompt=completion_to_prompt,
55
  verbose=True,
56
  )
57
+ response = ""
58
  for chunk in llm.stream_chat(chat_template):
59
  print(chunk.delta, end="", flush=True)
60
  response += str(chunk.delta)