Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -210,7 +210,6 @@ def compress_data_og(c, instruct, history, seed):
|
|
| 210 |
|
| 211 |
resp = run_gpt(
|
| 212 |
COMPRESS_DATA_PROMPT,
|
| 213 |
-
stop_tokens=["observation:", "task:", "action:", "thought:"],
|
| 214 |
max_tokens=16000,
|
| 215 |
seed=seed,
|
| 216 |
direction=instruct,
|
|
@@ -220,7 +219,7 @@ def compress_data_og(c, instruct, history, seed):
|
|
| 220 |
|
| 221 |
new_history = resp
|
| 222 |
print (resp)
|
| 223 |
-
out+=resp
|
| 224 |
e=e+chunk
|
| 225 |
s=s+chunk
|
| 226 |
|
|
|
|
| 210 |
|
| 211 |
resp = run_gpt(
|
| 212 |
COMPRESS_DATA_PROMPT,
|
|
|
|
| 213 |
max_tokens=16000,
|
| 214 |
seed=seed,
|
| 215 |
direction=instruct,
|
|
|
|
| 219 |
|
| 220 |
new_history = resp
|
| 221 |
print (resp)
|
| 222 |
+
#out+=resp
|
| 223 |
e=e+chunk
|
| 224 |
s=s+chunk
|
| 225 |
|