Commit 167c32e8 authored by Raul Sirel's avatar Raul Sirel
Browse files

add env variable for data

parent a5343de7
Pipeline #4796 passed with stages
in 18 minutes and 25 seconds
image: debian:buster
variables:
TEXTA_MLP_DATA_DIR: /cache
stages:
- test
- build
......
......@@ -34,7 +34,7 @@ CONCATENATOR_DATA_FILES = (
)
# Location of the resource dir where models are downloaded
DEFAULT_RESOURCE_DIR = os.path.join(os.getcwd(), "data")
DEFAULT_RESOURCE_DIR = os.getenv("TEXTA_MLP_DATA_DIR", os.path.join(os.getcwd(), "data"))
# List of all analyzers supported by MLP
SUPPORTED_ANALYZERS = (
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment