mirror of
https://github.com/tcsenpai/easy-web-summarizer.git
synced 2025-06-06 10:35:20 +00:00
Update summar.py
This commit is contained in:
parent
7a0dc4376a
commit
f419475e08
@ -29,6 +29,8 @@ DETAILED SUMMARY:""", input_variables=["text"])
|
|||||||
def main():
|
def main():
|
||||||
args = setup_argparse()
|
args = setup_argparse()
|
||||||
docs = load_document(args.url)
|
docs = load_document(args.url)
|
||||||
|
|
||||||
|
llm_chain = setup_summarization_chain()
|
||||||
result = llm_chain.run(docs)
|
result = llm_chain.run(docs)
|
||||||
|
|
||||||
print(result)
|
print(result)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user