Omnibus commited on
Commit
15b567c
1 Parent(s): c876310

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -133,7 +133,7 @@ def run_gpt(
133
  def compress_data(c, instruct, history):
134
  seed=random.randint(1,1000000000)
135
 
136
- print (c)
137
  #tot=len(purpose)
138
  #print(tot)
139
  divr=int(c)/MAX_DATA
@@ -160,12 +160,12 @@ def compress_data(c, instruct, history):
160
  max_tokens=8192,
161
  seed=seed,
162
  direction=instruct,
163
- knowledge=new_history,
164
  history=hist,
165
  )
166
  out.append(resp)
167
- new_history = resp
168
- print (resp)
169
  #out+=resp
170
  e=e+chunk
171
  s=s+chunk
 
133
  def compress_data(c, instruct, history):
134
  seed=random.randint(1,1000000000)
135
 
136
+ print (f'c:: {c}')
137
  #tot=len(purpose)
138
  #print(tot)
139
  divr=int(c)/MAX_DATA
 
160
  max_tokens=8192,
161
  seed=seed,
162
  direction=instruct,
163
+ knowledge="",
164
  history=hist,
165
  )
166
  out.append(resp)
167
+ #new_history = resp
168
+ #print (resp)
169
  #out+=resp
170
  e=e+chunk
171
  s=s+chunk