Sam Passaglia commited on
Commit
6b2edcb
1 Parent(s): f2cc4d0
Files changed (2) hide show
  1. config/config.py +0 -4
  2. yomikata/main.py +5 -0
config/config.py CHANGED
@@ -5,7 +5,6 @@ import logging.config
5
  import sys
6
  from pathlib import Path
7
 
8
- import mlflow
9
  from rich.logging import RichHandler
10
 
11
  # Base and Config Directories
@@ -54,9 +53,6 @@ assert TRAIN_SIZE + VAL_SIZE + TEST_SIZE == 1
54
  with open(Path(CONFIG_DIR, "heteronyms.json")) as fp:
55
  HETERONYMS = json.load(fp)
56
 
57
- # MLFlow model registry
58
- mlflow.set_tracking_uri("file://" + str(RUN_REGISTRY.absolute()))
59
-
60
  # Logger
61
  logging_config = {
62
  "version": 1,
 
5
  import sys
6
  from pathlib import Path
7
 
 
8
  from rich.logging import RichHandler
9
 
10
  # Base and Config Directories
 
53
  with open(Path(CONFIG_DIR, "heteronyms.json")) as fp:
54
  HETERONYMS = json.load(fp)
55
 
 
 
 
56
  # Logger
57
  logging_config = {
58
  "version": 1,
yomikata/main.py CHANGED
@@ -16,6 +16,11 @@ from config.config import logger
16
  from yomikata import utils
17
  from yomikata.dbert import dBert
18
 
 
 
 
 
 
19
  warnings.filterwarnings("ignore")
20
 
21
 
 
16
  from yomikata import utils
17
  from yomikata.dbert import dBert
18
 
19
+
20
+ # MLFlow model registry
21
+ mlflow.set_tracking_uri("file://" + str(config.RUN_REGISTRY.absolute()))
22
+
23
+
24
  warnings.filterwarnings("ignore")
25
 
26