Omnibus commited on
Commit
a734d46
·
1 Parent(s): 1a08443

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -95,7 +95,7 @@ def run_gpt(
95
  print(LOG_RESPONSE.format(resp))
96
  return resp
97
 
98
- def compress_data(c,purpose, task, history):
99
  seed=random.randint(1,1000000000)
100
 
101
  print (c)
@@ -160,7 +160,7 @@ def summarize(inp,file=None):
160
  print (f'c:: {c}')
161
  if rl > MAX_DATA:
162
  print("compressing...")
163
- rawp = compress_data(c,purpose,task,out)
164
  print (rawp)
165
  print (f'out:: {out}')
166
  #history += "observation: the search results are:\n {}\n".format(out)
 
95
  print(LOG_RESPONSE.format(resp))
96
  return resp
97
 
98
+ def compress_data(c,purpose, history):
99
  seed=random.randint(1,1000000000)
100
 
101
  print (c)
 
160
  print (f'c:: {c}')
161
  if rl > MAX_DATA:
162
  print("compressing...")
163
+ rawp = compress_data(c,inp,out)
164
  print (rawp)
165
  print (f'out:: {out}')
166
  #history += "observation: the search results are:\n {}\n".format(out)