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 image: debian:buster
variables:
TEXTA_MLP_DATA_DIR: /cache
stages: stages:
- test - test
- build - build
......
...@@ -34,7 +34,7 @@ CONCATENATOR_DATA_FILES = ( ...@@ -34,7 +34,7 @@ CONCATENATOR_DATA_FILES = (
) )
# Location of the resource dir where models are downloaded # 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 # List of all analyzers supported by MLP
SUPPORTED_ANALYZERS = ( 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