diff options
Diffstat (limited to '')
-rw-r--r-- | devourer.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/devourer.py b/devourer.py index 995ab52..34185ae 100644 --- a/devourer.py +++ b/devourer.py @@ -180,6 +180,10 @@ def summarizeText(text: str) -> str: ] +def summarizeText_v2(text: str) -> str: + pass + + def textToAudio(text: str) -> str: """Transform the given text into audio.""" path = str() @@ -326,6 +330,7 @@ async def addSecureHeaders( nltk.download("punkt") +transformers_summarizer = transformers.pipeline("summarization") @app.get("/mila/pdf") |