Omnibus commited on
Commit
d943c60
1 Parent(s): c31f21b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -139,7 +139,7 @@ def read_pdf_online(url):
139
 
140
  VERBOSE = True
141
  MAX_HISTORY = 100
142
- MAX_DATA = 25000
143
 
144
  def format_prompt(message, history):
145
  prompt = "<s>"
@@ -218,7 +218,7 @@ def compress_data(c, instruct, history):
218
  resp = run_gpt(
219
  COMPRESS_DATA_PROMPT_SMALL,
220
  stop_tokens=["observation:", "task:", "action:", "thought:"],
221
- max_tokens=4096,
222
  seed=seed,
223
  direction=instruct,
224
  knowledge=new_history,
 
139
 
140
  VERBOSE = True
141
  MAX_HISTORY = 100
142
+ MAX_DATA = 20000
143
 
144
  def format_prompt(message, history):
145
  prompt = "<s>"
 
218
  resp = run_gpt(
219
  COMPRESS_DATA_PROMPT_SMALL,
220
  stop_tokens=["observation:", "task:", "action:", "thought:"],
221
+ max_tokens=8192,
222
  seed=seed,
223
  direction=instruct,
224
  knowledge=new_history,