npc0 commited on
Commit
700a24f
·
1 Parent(s): 6a79721

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -56,7 +56,7 @@ def sum_chain_l1(text, p_bar):
56
  docs.append(answer)
57
  return docs
58
 
59
- def sum_chain_l2_deprecated(docs, pbar):
60
  hist = docs[0]
61
  for doc in p_bar(docs[1:]):
62
  for answer in model.generate_iterate(prompt+"\n"+hist+"\n"+doc,
 
56
  docs.append(answer)
57
  return docs
58
 
59
+ def sum_chain_l2_deprecated(docs, p_bar):
60
  hist = docs[0]
61
  for doc in p_bar(docs[1:]):
62
  for answer in model.generate_iterate(prompt+"\n"+hist+"\n"+doc,