From b73a5b11a7ab958836fa5e439c0f3e49f74b454f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20Ho=CC=88nicke?= Date: Sat, 27 May 2023 17:38:11 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9E=95=20refactor:=20summarize=20error=20mes?= =?UTF-8?q?sage=20without=20line=20number?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dev_gpt/constants.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dev_gpt/constants.py b/dev_gpt/constants.py index 5fe4d14..1a9c150 100644 --- a/dev_gpt/constants.py +++ b/dev_gpt/constants.py @@ -52,10 +52,11 @@ BLACKLISTED_PACKAGES = [ 'tika', # because it needs java 'clearbit', # because of installation issues on latest version 'pyttsx3', # after engine.save_to_file(summarized_text, "summarized_audio.wav"); engine.runAndWait() "summarized_audio.wav" does not exist - 'pypng', # if we provide access to the documentation all should be fine but for now it is too hard to use since the import is png ] UNNECESSARY_PACKAGES = [ - 'jinja2', 'werkzeug', 'flask', 'flask_restful', 'http.server', 'flask_json', 'flask_cors', 'fastapi', 'uvicorn', 'starlette' # because the wrappers are used instead + 'jinja2', 'werkzeug', 'flask', 'flask_restful', 'http.server', 'flask_json', 'flask_cors', 'fastapi', 'uvicorn', 'starlette', # because the wrappers are used instead + 'pypng', # if we provide access to the documentation all should be fine but for now it is too hard to use since the import is png + ] LANGUAGE_PACKAGES = [