Skip to content

Commit

Permalink
fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
akshaya-a committed Mar 9, 2024
1 parent f5716fd commit 6daf2a2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion mindctrl-addon/config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: "Mindctrl"
description: "LLMOps for Homeassistant"
version: "0.0.40"
version: "0.0.41"
url: "https://github.com/akshaya-a/mindctrl/tree/main/mindctrl-addon"
slug: "mindctrl"
init: false
Expand Down
4 changes: 2 additions & 2 deletions mindctrl-addon/rootfs/usr/bin/multiserver/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@

import collections

from mlmodels import log_system_models, poll_registry, SUMMARIZATION_PROMPT
from mlmodels import log_system_models, SUMMARIZATION_PROMPT
from mqtt import setup_mqtt_client, listen_to_mqtt
from mlflow_bridge import connect_to_mlflow
from mlflow_bridge import connect_to_mlflow, poll_registry
from db.config import setup_db, insert_summary


Expand Down
2 changes: 1 addition & 1 deletion mindctrl-addon/rootfs/usr/bin/multiserver/mlflow_bridge.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def connect_to_mlflow():
_logger.info(f"Tracking URI: {mlflow.get_tracking_uri()}")
_logger.info(f"Model Registry URI: {mlflow.get_registry_uri()}")

from .const import CHAMPION_ALIAS, CHALLENGER_ALIAS
from const import CHAMPION_ALIAS, CHALLENGER_ALIAS

def is_deployable_alias(aliases: list[str]) -> bool:
if not aliases:
Expand Down
2 changes: 1 addition & 1 deletion mindctrl-addon/rootfs/usr/bin/multiserver/mlmodels.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from mlflow.entities.model_registry import RegisteredModel
from mlflow import MlflowClient

from .const import CHALLENGER_ALIAS, CHAMPION_ALIAS
from const import CHALLENGER_ALIAS, CHAMPION_ALIAS

_logger = logging.getLogger(__name__)

Expand Down

0 comments on commit 6daf2a2

Please sign in to comment.