diff --git a/bothub/nlu_worker/interpreter_manager.py b/bothub/nlu_worker/interpreter_manager.py index 00d66f7..15c83db 100644 --- a/bothub/nlu_worker/interpreter_manager.py +++ b/bothub/nlu_worker/interpreter_manager.py @@ -8,7 +8,7 @@ from tempfile import mkdtemp from datetime import datetime -from bothub import settings +from bothub.shared import settings from bothub.shared.utils.persistor import BothubPersistor from bothub.shared.utils.backend import backend from bothub.shared.utils.rasa_components.bothub_interpreter import BothubInterpreter diff --git a/bothub/settings.py b/bothub/shared/settings.py similarity index 100% rename from bothub/settings.py rename to bothub/shared/settings.py diff --git a/bothub/shared/utils/pipeline_builder.py b/bothub/shared/utils/pipeline_builder.py index 1cfc4e9..67cd013 100644 --- a/bothub/shared/utils/pipeline_builder.py +++ b/bothub/shared/utils/pipeline_builder.py @@ -1,6 +1,6 @@ from typing import List, Callable, Optional -from bothub import settings +from bothub.shared import settings from bothub.shared.utils.helpers import ALGORITHM_TO_LANGUAGE_MODEL from bothub_nlp_celery import settings as celery_settings from bothub.shared.utils.rasa_components.registry import language_to_model