Omnibus commited on
Commit
e0ec394
1 Parent(s): e40b96e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -70,6 +70,7 @@ def generate(prompt, history,max_new_tokens,health,seed,temperature=temperature,
70
  for ea in history:
71
  print (ea)
72
  for l in ea:
 
73
  print (l)
74
  cnt+=len(l.split("\n"))
75
  print(f'cnt:: {cnt}')
 
70
  for ea in history:
71
  print (ea)
72
  for l in ea:
73
+ l=str(l)
74
  print (l)
75
  cnt+=len(l.split("\n"))
76
  print(f'cnt:: {cnt}')