spacy nlp ner
This commit is contained in:
@@ -6,6 +6,7 @@ type Config struct {
|
||||
Port string
|
||||
DBPath string
|
||||
OCREndpoint string
|
||||
NLPEndpoint string
|
||||
UploadDir string
|
||||
HMACSecret string
|
||||
ServerHost string
|
||||
@@ -16,6 +17,7 @@ func Load() *Config {
|
||||
Port: envOr("PORT", "8080"),
|
||||
DBPath: envOr("DB_PATH", "vaultdrop.db"),
|
||||
OCREndpoint: envOr("OCR_ENDPOINT", "http://localhost:9090"),
|
||||
NLPEndpoint: envOr("NLP_ENDPOINT", "http://localhost:9091"),
|
||||
UploadDir: envOr("UPLOAD_DIR", "./uploads"),
|
||||
HMACSecret: envOr("HMAC_SECRET", "thisismyrandomstring"),
|
||||
ServerHost: envOr("SERVER_HOST", "http://192.168.1.17:8080"),
|
||||
|
||||
Reference in New Issue
Block a user