From 850d6ab0e16e88035e7dfd24ea36259e67b79568 Mon Sep 17 00:00:00 2001 From: Daniel Holmer <daniel@holmer.io> Date: Thu, 11 Apr 2024 18:34:56 +0200 Subject: [PATCH] prep for docker build of only_sceam-image --- REQUIREMENTS.txt | 2 ++ pipeline.py | 10 +++++----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/REQUIREMENTS.txt b/REQUIREMENTS.txt index b66f29a7..e485bbec 100644 --- a/REQUIREMENTS.txt +++ b/REQUIREMENTS.txt @@ -3,3 +3,5 @@ falcon==2.0.0 gunicorn==19.9.0 numpy==1.16.4 py4j==0.10.8.1 +falcon-cors==1.1.7 + diff --git a/pipeline.py b/pipeline.py index 8be9b43c..3bdc0494 100755 --- a/pipeline.py +++ b/pipeline.py @@ -35,11 +35,11 @@ sys.path.insert(0, 'stilett/') import apply_rules as stilett #Import Coh-metrix -sys.path.insert(0, 'coh-metrix/') -import cohesion -import lsa -import givenness -import connectives +# sys.path.insert(0, 'coh-metrix/') +# import cohesion +# import lsa +# import givenness +# import connectives #Import Synonyms sys.path.insert(0,'synonyms/') -- GitLab