Spaces:
Running
Running
Update app.py
Browse files
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}')
|