Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -222,7 +222,7 @@ def agent(prompt_in,history,mod=2):
|
|
| 222 |
|
| 223 |
seed = random.randint(1,9999999999999)
|
| 224 |
c=0
|
| 225 |
-
history = [history[-4:]]
|
| 226 |
if len(str(history)) > MAX_DATA*4:
|
| 227 |
history = [history[-2:]]
|
| 228 |
print('history',history)
|
|
|
|
| 222 |
|
| 223 |
seed = random.randint(1,9999999999999)
|
| 224 |
c=0
|
| 225 |
+
#history = [history[-4:]]
|
| 226 |
if len(str(history)) > MAX_DATA*4:
|
| 227 |
history = [history[-2:]]
|
| 228 |
print('history',history)
|