kamran-r123 commited on
Commit
0ccd6a0
·
1 Parent(s): 2f6a7e7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -56,7 +56,7 @@ def generate(prompt, history, system_prompt, temperature=0.2, max_new_tokens=512
56
  output = ""
57
 
58
  for response in stream:
59
- output += response.token.text
60
  yield output
61
  return output
62
 
 
56
  output = ""
57
 
58
  for response in stream:
59
+ output += response
60
  yield output
61
  return output
62