Omnibus commited on
Commit
61f3b89
·
verified ·
1 Parent(s): 770d6b6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -185,9 +185,8 @@ def summarize(inp,history,data=None):
185
  print(f's:e :: {s}:{e}')
186
  mes= f'Working on data chunk: {s}:{e}'
187
  hist = out[s:e]
 
188
  yield "", [(inp,f'{mes}\n{new_history}')]
189
- if new_history =="":
190
- new_history = ""
191
  resp = run_gpt(
192
  COMPRESS_DATA_PROMPT,
193
  stop_tokens=["observation:", "task:", "action:", "thought:"],
 
185
  print(f's:e :: {s}:{e}')
186
  mes= f'Working on data chunk: {s}:{e}'
187
  hist = out[s:e]
188
+ print(f'hist::\n{hist}')
189
  yield "", [(inp,f'{mes}\n{new_history}')]
 
 
190
  resp = run_gpt(
191
  COMPRESS_DATA_PROMPT,
192
  stop_tokens=["observation:", "task:", "action:", "thought:"],