Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -160,11 +160,11 @@ def compress_data(c, instruct, history):
|
|
160 |
max_tokens=8192,
|
161 |
seed=seed,
|
162 |
direction=instruct,
|
163 |
-
knowledge=
|
164 |
history=hist,
|
165 |
)
|
166 |
out.append(resp)
|
167 |
-
|
168 |
print (resp)
|
169 |
#out+=resp
|
170 |
e=e+chunk
|
|
|
160 |
max_tokens=8192,
|
161 |
seed=seed,
|
162 |
direction=instruct,
|
163 |
+
knowledge=new_history,
|
164 |
history=hist,
|
165 |
)
|
166 |
out.append(resp)
|
167 |
+
new_history = resp
|
168 |
print (resp)
|
169 |
#out+=resp
|
170 |
e=e+chunk
|