Omnibus commited on
Commit
04484a6
·
verified ·
1 Parent(s): 0783516

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -37,7 +37,7 @@ def parse_action(string: str):
37
  return string[8 : idx - 1], string[idx + 13 :].strip("'").strip('"')
38
 
39
  MAX_HISTORY = 100
40
- MAX_DATA = 20000
41
 
42
  def format_prompt(message, history):
43
  prompt = "<s>"
@@ -115,7 +115,7 @@ def compress_data(c,purpose, task, history):
115
  task=task,
116
  knowledge=new_history,
117
  history=hist,
118
- )
119
  new_history = resp
120
  print (resp)
121
  out+=resp
 
37
  return string[8 : idx - 1], string[idx + 13 :].strip("'").strip('"')
38
 
39
  MAX_HISTORY = 100
40
+ MAX_DATA = 60000
41
 
42
  def format_prompt(message, history):
43
  prompt = "<s>"
 
115
  task=task,
116
  knowledge=new_history,
117
  history=hist,
118
+ ).strip("\n")
119
  new_history = resp
120
  print (resp)
121
  out+=resp