Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -106,7 +106,7 @@ def compress_data(c,purpose, task, history):
|
|
| 106 |
print(f's:e :: {s}:{e}')
|
| 107 |
|
| 108 |
hist = history[s:e]
|
| 109 |
-
|
| 110 |
resp = run_gpt(
|
| 111 |
COMPRESS_DATA_PROMPT,
|
| 112 |
stop_tokens=["observation:", "task:", "action:", "thought:"],
|
|
|
|
| 106 |
print(f's:e :: {s}:{e}')
|
| 107 |
|
| 108 |
hist = history[s:e]
|
| 109 |
+
print(f'hist::\n{hist}')
|
| 110 |
resp = run_gpt(
|
| 111 |
COMPRESS_DATA_PROMPT,
|
| 112 |
stop_tokens=["observation:", "task:", "action:", "thought:"],
|