Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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,
|
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,
|