Spaces:
Sleeping
Sleeping
Update summary_extractor.py
Browse files- summary_extractor.py +2 -2
summary_extractor.py
CHANGED
|
@@ -83,8 +83,8 @@ class Extractor:
|
|
| 83 |
split_docs = self._document_text_spilliter(pdf_file_path)
|
| 84 |
|
| 85 |
# Prepare the prompt template for summarization
|
| 86 |
-
prompt_template = """Write a concise summary of the following:
|
| 87 |
-
{text}
|
| 88 |
CONCISE SUMMARY:"""
|
| 89 |
prompt = PromptTemplate.from_template(prompt_template)
|
| 90 |
|
|
|
|
| 83 |
split_docs = self._document_text_spilliter(pdf_file_path)
|
| 84 |
|
| 85 |
# Prepare the prompt template for summarization
|
| 86 |
+
prompt_template = """Write a concise summary of the following Contract:
|
| 87 |
+
Contrcat : {text}
|
| 88 |
CONCISE SUMMARY:"""
|
| 89 |
prompt = PromptTemplate.from_template(prompt_template)
|
| 90 |
|